Task: Program Execution
Input (English): q, 391, 293, 279, 383, 393, z, 473, c, q
Output (English): 1, 2, 3, 4, 7, 8, 9