Task: Program Execution
Input (English): M, 9059, T, 6803, 5223, 8069, 6805, 9619, 2305, 3921, x, V, 5335, 9603, 3433
Output (English): 9059, 6803, 5223, 8069, 6805, 9619, 2305, 3921, 5335, 9603, 3433