Task: Program Execution
Input (English): q, 309, 485, h, 81, x, y, 91, a, 377
Output (English): 0, 1, 3, 4, 5, 7, 8, 9