Task: Program Execution
Input (English): a, 373, 421, 173, q
Output (English): 1, 2, 3, 4, 7