Task: Program Execution
Input (English): N, R, 5943, 4575, 3007, 3249, M, y, 1275, W, E, N, 4963, 3839, k, n, M, R, Y
Output (English): N, R, M, y, W, E, N, k, n, M, R, Y, 5943, 4575, 3007, 3249, 1275, 4963, 3839