Task: Program Execution
Input (English): 4717, t, t, 2575, 8563, 3805, Y, b, O, 9901, O, 3183, 6343, k, K, E, 7203, y, 1681, 6565, 5805, 2735, X, 1973
Output (English): 4717, 2575, 8563, 3805, 9901, 3183, 6343, 7203, 1681, 6565, 5805, 2735, 1973