Task: Program Execution
Input (English): 283, 131, 87
Output (English): 1, 2, 3, 7, 8