Task: Program Execution
Input (English): 2489, Q
Output (English): Q, 2489