Task: Program Execution
Input (English): 2917, 5215, Y, A, l, D, 6397, Q, 3501
Output (English): Y, A, l, D, Q, 2917, 5215, 6397, 3501