Task: Program Execution
Input (English): f, f, 149, 311, 331, l, u, 349, v, v, 417, 285
Output (English): 1, 2, 3, 4, 5, 7, 8, 9