Task: Program Execution
Input (English): 8955, 8655, o, 1051, 1621, M, 8651, 981, V, 9683, a, 6461, 3225, M, O, 7113, 1683, 8769, 5453, 5441, 3605, 9671
Output (English): 8955, 8655, 1051, 1621, 8651, 981, 9683, 6461, 3225, 7113, 1683, 8769, 5453, 5441, 3605, 9671