Task: Program Execution
Input (English): C, v, 8117, Y, i, h, 4165, 1, 4153, 9247, V, 4875, J, q, 7821, a, n, I, 4803, 5363, I, 1635
Output (English): 12