Task: Program Execution
Input (English): 411, 367
Output (English): 1, 3, 4, 6, 7