Task: Program Execution
Input (English): H, c, 3671, K, Y, O, 7219, T, 2163, P, 3001, r, O, X, 8443, 7899, G, h, 5385, Y, 4231, w, O
Output (English): 1, 2, 4, 5, 6, 8, 10, 12, 13, 14, 17, 18, 20, 22, 23