vowels = "aeiouAEIOU"
strings = input()
while strings != "#":
    cnt = 0
    for c in strings:
        if c in vowels:
           cnt += 1
    print( cnt )
    strings = input()
e821c5810690b324194945c4e83019f006fb4ca7
<mask token>

<mask token>
while strings != '#':
    cnt = 0
    for c in strings:
        if c in vowels:
            cnt += 1
    print(cnt)
    strings = input()

vowels = 'aeiouAEIOU'
strings = input()
while strings != '#':
    cnt = 0
    for c in strings:
        if c in vowels:
            cnt += 1
    print(cnt)
    strings = input()

vowels = "aeiouAEIOU"
strings = input()
while strings != "#":
    cnt = 0
    for c in strings:
        if c in vowels:
           cnt += 1
    print( cnt )
    strings = input()