Task: Program Execution
Input (English): 55, 491, 59
Output (English): 1, 4, 5, 9