Task: Program Execution
Input (English): 217, z, 373, d, 499, 119, 201, q
Output (English): 0, 1, 2, 3, 4, 7, 9