Task: Program Execution
Input (English): f, 307, 431, 105, 445, i, 133, 165, 409
Output (English): 0, 1, 3, 4, 5, 6, 7, 9