Task: Program Execution
Input (English): E 2991 O V 2921 p H 3075 t R A v P 8707 T 7857 8647 8537 U 4847 n F 9131 T A Q 4127 L 9495 Z 3181 v L I
Output (English): 12