Task: Program Execution
Input (English): Q, 2123, 3083, 1575, M, 9415, a, 5599, 1669, 5939, N, W, 5923, 4567
Output (English): 2123, 3083, 1575, 9415, 5599, 1669, 5939, 5923, 4567