Task: Program Execution
Input (English): 3, ['6751', '3105', 'q', 'S', 'E', '3475', '5227', 'E']
Output (English): 6751, 3105, q, S, E