Task: Program Execution
Input (English): 3, 12, ['2977', 'X', '3357', '2023', '4711', '4149', '2799', 'R', '7057', 'C', '5333', 'T']
Output (English): T, 5333, C, 7057, R, 2799, 4149, 4711, 2023, 3357