Task: Program Execution
Input (English): 6, ['4851', '2289', 'S', '3991', 'C', 'N', '3221', '3833', 'C', '1043', 'S', '2789']
Output (English): 4851, 2289, S, 3991, C, N