Task: Program Execution
Input (English): 247, 369
Output (English): 2, 3, 4, 6, 7, 9