Task: Program Execution
Input (English): 3, 10, ['o', 'l', '4685', 'Y', '2047', '4333', '7331', '2145', 'Y', '9983', 'O', '5631']
Output (English): 9983, Y, 2145, 7331, 4333, 2047, Y, 4685