Task: Program Execution
Input (English): K, R, g
Output (English): 11, 18, 7