Task: Program Execution
Input (English): 7451, Q, 9911, 3497, 6285, F
Output (English): Q, F, 7451, 9911, 3497, 6285