Task: Program Execution
Input (English): 7, 1, G, 0
Output (English): [['7', '1', 'G'], ['7', '1', '0'], ['7', 'G', '0'], ['1', 'G', '0']]