Task: Program Execution
Input (English): 2, 2, ['4359', 'G', 'A']
Output (English): G