Task: Program Execution
Input (English): n, k, 409
Output (English): 0, 4, 9