Task: Program Execution
Input (English): 3503, g, k, n, 9247, p, e, 9571, 8177, V, F, a, c, 2569, O, 4081
Output (English): 6