Task: Program Execution
Input (English): 397, 309, l
Output (English): 0, 3, 7, 9