Task: Program Execution
Input (English): 349, 77
Output (English): 3, 4, 7, 9