Task: Program Execution
Input (English): k, 297
Output (English): 2, 7, 9