def is_vowel(letter):
    return letter in ['a', 'e', 'i', 'o', 'u', 'y']


def score_words(words):
    return sum(sum(char in 'aeiouy' for char in word) % 2 or 2 for word in
        words)


n = int(input())
words = input().split()
print(score_words(words))

5886e575766fc4498e8edf9d8c16e6f5ac2626e2
<mask token>

def is_vowel(letter):
    return letter in ['a', 'e', 'i', 'o', 'u', 'y']


def score_words(words):
    return sum(sum(char in 'aeiouy' for char in word) % 2 or 2 for word in
        words)


<mask token>

def is_vowel(letter):
    return letter in ['a', 'e', 'i', 'o', 'u', 'y']


def score_words(words):
    return sum(sum(char in 'aeiouy' for char in word) % 2 or 2 for word in
        words)


<mask token>
print(score_words(words))

def is_vowel(letter):
    return letter in ['a', 'e', 'i', 'o', 'u', 'y']


def score_words(words):
    return sum(sum(char in 'aeiouy' for char in word) % 2 or 2 for word in
        words)


n = int(input())
words = input().split()
print(score_words(words))
