Task: Program Execution
Input (English): 261, 3
Output (English): 1, 2, 3, 6