Task: Program Execution
Input (English): 1, 2, ['R', '3747', 'G', 'U', '3995', '581']
Output (English): 3747, R