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