Task: Program Execution
Input (English): 467 h 2767 v 9867 p P 9921 1927 e 4989 w g 9243 1039 C f m A 9633 y t H m c 9241 6985 4715 c
Output (English): 12