Task: Program Execution
Input (English): v, 3759, N, j, 2539, s, 829, i, s, 6917, 6451, E, 1017
Output (English): 1, 3, 4, 6, 8, 9, 12