Task: Program Execution
Input (English): 6, 11, ['w', 'n', '2985', 'e', '5945', 'r', 'A', '4319', 'V', 't', '5491', 'K', '9281', 'Z']
Output (English): r, A, 4319, V, t, 5491