Task: Program Execution
Input (English): e, 9777, 7649, V, 4431, A, 497, 7837, 1275, 5311, w, 1899, x, 5129, 6271, G, 1233, 6829, d, 3501, 6353, j
Output (English): 14