Task: Program Execution
Input (English): H, 9913, G, V, 9285, 4949, K, 6817, C
Output (English): 30964