Task: Program Execution
Input (English): b, h, W, G, a, F, D, Z, p, 1667, G, b, i, L, 7987, E, 9087, 3977, o, P, s
Output (English): 10, 15, 17, 18