Task: Program Execution
Input (English): 335, 203, g, x, q, y, 157, q
Output (English): 0, 1, 2, 3, 5, 7