Task: Program Execution
Input (English): b, W, P, 4423, 361, B, 6587, o, P, 9265, W, 2415, Z, e, 6043, Z, h, J, 2111, h, R, b, 9461, R
Output (English): 1, 2, 3, 6, 8, 9, 11, 13, 14, 16, 17, 18, 20, 21, 22, 24