Task: Program Execution
Input (English): 331, l, o, 231, 407, r, c, k, v, 5
Output (English): 0, 1, 2, 3, 4, 5, 7