Task: Program Execution
Input (English): 171, 293, 291
Output (English): 1, 2, 3, 7, 9