Task: Program Execution
Input (English): 61, 37, 287, 471, 127, 343, 471, 283, f
Output (English): 1, 2, 3, 4, 6, 7, 8