Task: Program Execution
Input (English): x, x, 359, d, 401, 13, g
Output (English): 0, 1, 3, 4, 5, 9