Task: Program Execution
Input (English): 3, 11, ['V', '6933', '8479', '487', '5497', 'V', 'G', 'W', '7359', '5023', '9867', 's', 'M']
Output (English): 9867, 5023, 7359, W, G, V, 5497, 487, 8479