Task: Program Execution
Input (English): 2, 2, ['6507', 'G', 'h']
Output (English): G