Task: Program Execution
Input (English): 1471, O, K, 2423, M, e, z, 4561, c, c, h, 1787, Z, H, 3765, 41, 8791, 8805, 1219, 8285
Output (English): 10