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