Task: Program Execution
Input (English): 3417, e, 2149, 1743, 3671, 4457, 319, v
Output (English): 1, 3, 4, 5, 6, 7