Task: Program Execution
Input (English): 3, 4, ['8465', 'G', '7197', 'B', 'Q']
Output (English): 7197, B