Task: Program Execution
Input (English): 491, 147, 163
Output (English): 1, 3, 4, 6, 7, 9