Task: Program Execution
Input (English): A, 5717, 4169, 7935, E, B, u, 4261, 5455, 4087, F, e, 3907, v, 1391, b, 627, 4261, y, O, g, 2135, x, 7311
Output (English): 12