Task: Program Execution
Input (English): I, K, 1645, 159, l, O, 8495, 9823, 3975, k, 285, 8439, 7345, Q, V, 1981, a, 4071, 1621, 4037, 6261, h, 4347
Output (English): 14