Task: Program Execution
Input (English): q, 439, 273, 1, 445, 409
Output (English): 0, 1, 2, 3, 4, 5, 7, 9