# Zmodyfikuj poprzedni program tak, aby liczył ilość samogłosek w wiadomości
samogloski = ['a','e','o','u','i','y']

tekst = input('Wprowadź tekst: ')

ile_samoglosek = 0
for i in tekst:
    if i in samogloski:
        ile_samoglosek += 1

print(f'Ilość samoglosek {ile_samoglosek} w wyrazie {tekst}')


ile = tekst.count('a') + tekst.count('e') + tekst.count('o') +tekst.count('u') + tekst.count('y') + tekst.count('i')
print(f'Ilość samoglosek {ile} w wyrazie {tekst}')


# print(tekst.count('b'))

# # 'baba jaga'
# ile_b = 0
# for i in tekst:
#     if i == 'b':
#         ile_b += 1

# print(ile_b)