Task: Program Execution
Input (English): 381, 245, 83, 261
Output (English): 1, 2, 3, 4, 5, 6, 8