Task: Program Execution
Input (English): H, K, n, O, I, 3949, i
Output (English): 6