Task: Program Execution
Input (English): p, 721, O, 5877, 2223, 4935, C, 7143, H, s, 3975, R, 7451, 8191, 6957, l, Q, j, t, 2433, l, R, P, 1245
Output (English): 1, 3, 7, 9, 10, 12, 16, 17, 18, 19, 21, 22, 23