Task: Program Execution
Input (English): 3, ['4853', '1465', '2501', '2965', 'g', 'x', 'O', '1957', 'Y']
Output (English): 4853, 2965, O