Task: Program Execution
Input (English): Q, 5883, 9595, 4847, 617, 631, F
Output (English): Q, F, 5883, 9595, 4847, 617, 631