Task: Program Execution
Input (English): J, e, 1969, 3075, i, 7541, o, D, 2517, p, 3277, x, 2621, Q
Output (English): J, e, i, o, D, p, x, Q, 1969, 3075, 7541, 2517, 3277, 2621