Question 7
The beaver city uses the letters shown. Gray cells are consonants; the other cells are vowels.

The vowels are A,E,I,O,U; the consonants are G,K,P,R,S,T,V. An identification code has four characters. The first is any digit 0–9, and each remaining character is a letter from this alphabet. The second character must be a vowel and the last a consonant. If S is the number of different codes, what is the sum of all digits of S?

The vowels are A,E,I,O,U; the consonants are G,K,P,R,S,T,V. An identification code has four characters. The first is any digit 0–9, and each remaining character is a letter from this alphabet. The second character must be a vowel and the last a consonant. If S is the number of different codes, what is the sum of all digits of S?