Task: Program Execution
Input (English): 4321, Y, 6567, N, 1981, X, o, 7117, F, q
Output (English): 4321, 6567, 1981, 7117