Task: Program Execution
Input (English): 2, 15, ['3799', 'd', 'W', 't', 'N', '3147', 'O', '4949', '9937', '5533', 'B', '1923', '2807', '7761', 'x']
Output (English): d, W, t, N, 3147, O, 4949, 9937, 5533, B, 1923, 2807, 7761, x