Task: Program Execution
Input (English): n, 325, 4993, h, K
Output (English): 14, 325, 4993, 8, 11