Task: Program Execution
Input (English): K, N, 651, x
Output (English): K, N, x