Task: Program Execution
Input (English): H, A, V, 6775, 4233, 6255, 2981, 4927, M, T
Output (English): 4, 5, 6, 7, 8