Task: Program Execution
Input (English): N, d, 8867, 6071, M, j, 3613, f, R, b, o, E, 3555, 4947, 8777, I, 1951, 1477
Output (English): N, d, M, j, f, R, b, o, E, I