Task: Program Execution
Input (English): 3513, 9895, c, 5809, q, S, 1009, d, 5501, 1365, d, 495, 1619, 1, 7345, 2289, O, 3283, 6877, P, 9051
Output (English): 3513, 9895, 5809, 1009, 5501, 1365, 495, 1619, 1, 7345, 2289, 3283, 6877, 9051