Task: Program Execution
Input (English): k, 127, 331, 423
Output (English): 1, 2, 3, 4, 7