Task: Program Execution
Input (English): q, 213, 381, 399, 345
Output (English): 1, 2, 3, 4, 5, 8, 9