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