fichier = open("dico.txt", "r")
liste_mots = fichier.readlines()           
fichier.close()


autorises = {"e", "a", "i", "s", "t", "n", "r", "u", "l", "o", "d", "m", "p"}
for mot in liste_mots:
    ok = True
    mot = mot.rstrip()
    if len(mot)>15:
        for j in range(len(mot)):
            if mot[j] not in autorises:
                ok = False
        if ok:
            print(mot)
    

