Task: Program Execution
Input (English): 3, 4, ['4149', 'G', 'G', '7017', '8641', 't', 'j']
Output (English): 7017, G