Task: Program Execution
Input (English): f, 401, 373, g, o, 363, l
Output (English): 0, 1, 3, 4, 6, 7