Task: Program Execution
Input (English): V, P, 7151, 7617, q, r, 5057, 5995, w, R, 1727, z, 3357, 2245, L, Q, k, 2007, u, 3177
Output (English): V, P, q, r, w, R, z, L, Q, k, u, 7151, 7617, 5057, 5995, 1727, 3357, 2245, 2007, 3177