Task: Program Execution
Input (English): q, 301, 279, f, 121, 397, 425, 125, x
Output (English): 0, 1, 2, 3, 4, 5, 7, 9