Task: Program Execution
Input (English): 97, 29, 499, 455, f, 325, 355, 471, 431, n
Output (English): 1, 2, 3, 4, 5, 7, 9