Task: Program Execution
Input (English): 341, 107, 275, 115, x
Output (English): 0, 1, 2, 3, 4, 5, 7