Task: Program Execution
Input (English): 1443, 6921, Q, D, 6599, D, W
Output (English): Q, D, D, W, 1443, 6921, 6599