Task: Program Execution
Input (English): 7401, 317, 8867, M, x, w, 9027, 8773, 9707, 345, 4753, W, P, K, H
Output (English): M, x, w, W, P, K, H, 7401, 317, 8867, 9027, 8773, 9707, 345, 4753