Task: Program Execution
Input (English): H, 189, 4109, a, m, c, r, l, U, I, 9931, 9167, 7587
Output (English): 8, 189, 4109, 1, 13, 3, 18, 12, 21, 9, 9931, 9167, 7587