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