Task: Program Execution
Input (English): o, M, N, 1209, 7011, 3615, 2947, 5865, D, 5279, 5091, 5399, i, 8489, 2391, D
Output (English): 1209, 7011, 3615, 2947, 5865, 5279, 5091, 5399, 8489, 2391