Task: Program Execution
Input (English): H, X, 3679, i, P, 5717, 917, R, l, i, t, O, 2921, 1315, D, G, 7031, h, u
Output (English): 8, 24, 3679, 9, 16, 5717, 917, 18, 12, 9, 20, 15, 2921, 1315, 4, 7, 7031, 8, 21