Task: Program Execution
Input (English): w, b, 309, O, 2363, 2969, J, x, B, F, 7215, a, c, 9303, h, e, 1149
Output (English): 3, 5, 6, 11, 14, 17