Task: Program Execution
Input (English): 5889, 6471, w, 1193, 9493, L, 4939, 6235, 3171, o, s
Output (English): w, L, o, s, 5889, 6471, 1193, 9493, 4939, 6235, 3171