Task: Program Execution
Input (English): N, 2999, 1915, 6023, S, t, 201, 9521, 3147, s
Output (English): 1, 5, 6, 10