Task: Program Execution
Input (English): S, K, 3519, a, q, 9715, 3543, 1047, G, e, 4395, 5727, 2325, z, N, 531, d, F, y, d, 2733, 121, r
Output (English): 1, 2, 4, 5, 9, 10, 14, 15, 17, 18, 19, 20, 23