Task: Program Execution
Input (English): 5221, 9561, 3007, M, 7891, 8559, Y
Output (English): 5221, 9561, 3007, 7891, 8559