Task: Program Execution
Input (English): S, G, y
Output (English): [['S', 'G'], ['S', 'y'], ['G', 'y']]