Task: Program Execution
Input (English): 9855, t, Q
Output (English): 1