Task: Program Execution
Input (English): X, P, o, r, n, 8527, 2679, m, 2363, a, J, 3031, q
Output (English): X, P, o, r, n, m, a, J, q, 8527, 2679, 2363, 3031