Task: Program Execution
Input (English): S, 9151, a, w, 763, 4681, 2971, 503, 2581, c, 1549, 5131, 7035, n, 2861, 3557, 9357, I, 1299, 1005, C, 7173
Output (English): 1, 3, 4, 10, 14, 18, 21