Task: Program Execution
Input (English): 2, 3, ['U', '9249', 'G']
Output (English): G, 9249