fichier = open("dico.txt", "r")
liste_mots = fichier.readlines()           
fichier.close()


autorises = {"a", "e", "i", "o", "u", "y", "c", "v", "q", "g", "b", "f", "j", "h", "z", "x", "k", "w"}
for mot in liste_mots:
    ok = True
    mot = mot.rstrip()
    for j in range(len(mot)):
        if mot[j] not in autorises:
            ok = False
    if ok:
        print(mot)
    

