Task: Program Execution
Input (English): 1897, K, 9663
Output (English): 11560