All but one of the y's was a vowel. The 'y' in 'yes' is a consonant.