Task: Program Execution
Input (English): 6561, E, l, 1781, c, 4639, I, 6431, 8787, a, J, w, Q, e, 8513, 849, 5113, S, 2941, 6699, 3351
Output (English): 10