Task: Program Execution
Input (English): 4, 15, ['Q', '8351', 'o', 'x', 'Q', 'T', '9567', '917', 'J', '6203', 'v', '7997', 'o', 'h', '7849', '2951', 'b']
Output (English): 7849, h, o, 7997, v, 6203, J, 917, 9567, T, Q, x