Task: Program Execution
Input (English): g, 351, 111, y, r, y, 403, j, f, q
Output (English): 0, 1, 3, 4, 5