Task: Program Execution
Input (English): 3, ['A', 'X', '3269', '9771', '7599', '1255', 'G']
Output (English): A, 9771, G