Task: Program Execution
Input (English): 229, 91, 69, q
Output (English): 1, 2, 6, 9