Task: Program Execution
Input (English): 4965, 301, 8479, U, 7471, T, L, w, 6711, 2779, 4349, 2383, 4871, 4059, 3371, L, 6031, 3391, 9257, W
Output (English): 4965, 301, 8479, 7471, 6711, 2779, 4349, 2383, 4871, 4059, 3371, 6031, 3391, 9257