Task: Program Execution
Input (English): f, 123, o, 307, l, 421, 353, 233, x, x, 251, t
Output (English): 0, 1, 2, 3, 4, 5, 7