Task: Program Execution
Input (English): 6961, r, 3445, x, 8749, 4793, 859, L, 1347
Output (English): r, x, L, 6961, 3445, 8749, 4793, 859, 1347