Task: Program Execution
Input (English): 1917, B, 8893, E, 7579, u, h, S, g, b, 6587, d, 6141, Q, x, 9333, P
Output (English): B, E, u, h, S, g, b, d, Q, x, P, 1917, 8893, 7579, 6587, 6141, 9333