Task: Program Execution
Input (English): 7591, 6253, Q
Output (English): 3