Task: Program Execution
Input (English): 2, ['H', '1037', 'A', 'Q']
Output (English): A, Q