Task: Program Execution
Input (English): Q, 6447, m
Output (English): 1