Task: Program Execution
Input (English): N, S, 4271, v, 2421, h, a, 9895, 1501, o, 7521, 7971, 283
Output (English): 3, 5, 8, 9, 11, 12, 13