Task: Program Execution
Input (English): o, 6661, 8723, x, 9921, r, 579, 1381, d, 2849, 3607, S
Output (English): o, x, r, d, S, 6661, 8723, 9921, 579, 1381, 2849, 3607