Task: Program Execution
Input (English): q, 6343, 5977
Output (English): 17, 6343, 5977