Task: Program Execution
Input (English): H, 5087, x, G, 1803, 1781, 2093, 4641, 2883, W, 4599, U, G, 1957, F, 1739
Output (English): 26583