Task: Program Execution
Input (English): o, B, M, 1927, Q, V, 9505, V, 1565, E, o, 3059, f
Output (English): o, B, M, Q, V, V, E, o, f, 1927, 9505, 1565, 3059