Task: Program Execution
Input (English): 7753, N, 7947, 9811, F, 3083, z, G, I, 6161, 3665, Q, 543, d, 5941, 9815, 681, I, 3785, 2307, x
Output (English): 7753, 7947, 9811, 3083, 6161, 3665, 543, 5941, 9815, 681, 3785, 2307