Task: Program Execution
Input (English): K, 4623, H, F, Q, H, E, 7295, 6281, w, c, E, q, J, 8701, z, d, Q, 3731, 4949, 5359
Output (English): 7