Task: Program Execution
Input (English): 169, 485, 165, g
Output (English): 1, 4, 5, 6, 8, 9