Task: Program Execution
Input (English): 301, 161, 161, 417, 283, j, 147
Output (English): 0, 1, 2, 3, 4, 6, 7, 8