Task: Program Execution
Input (English): 1573, K, 7985
Output (English): 1, 3