Task: Program Execution
Input (English): 171, 267
Output (English): 1, 2, 6, 7