Task: Program Execution
Input (English): 3383, 8035, 101, 6007, 9713, 1095, 3363, 2149, 6779, d, 5401, 9279, n, 3589, 8307, 5959, 6279, M, n, 9417, 4335
Output (English): 3383, 8035, 101, 6007, 9713, 1095, 3363, 2149, 6779, 5401, 9279, 3589, 8307, 5959, 6279, 9417, 4335