Task: Program Execution
Input (English): 6223, X, 5533, g, K, j, 2823, 1233, E, Y, z, 5151, 1489, B, e, 7287, 1235, I
Output (English): 6223, 5533, 2823, 1233, 5151, 1489, 7287, 1235