<reponame>renataeva/python-basics<filename>lists/glasnie.imena.py<gh_stars>1-10
ppl = input().split()
letters = ['A', 'O', 'I', 'E', 'U', 'Y']
for p in ppl:
    if p[0] in letters:
        print(p)
ppl = input().split()
letters = ['A', 'O', 'I', 'E', 'U', 'Y']
for p in ppl:
    if p[0] in letters:
        print(p)