Task: Program Execution
Input (English): 6417, V, k, c, T, 4135, U, B, 9569, 8873, Q, 8819, 961, 4421, 3037, a, 4239, 7289, j, 4405, 9543
Output (English): 12