Task: Program Execution
Input (English): 167, 131
Output (English): 1, 3, 6, 7