Task: Program Execution
Input (English): 369, 59
Output (English): 3, 5, 6, 9