Task: Program Execution
Input (English): Y, 3351, 3759, T, 4837, 8987, 9861, U, 4163, 9893, 3, V, 3911, P, 8337, 5933, 9585, 8765
Output (English): 3351, 3759, 4837, 8987, 9861, 4163, 9893, 3, 3911, 8337, 5933, 9585, 8765