import sys def most_vowels(word): vow = len([letter for letter in word if letter in "aeiou"]) return vow > len(word) - vow def filter_by_number_of_vocals(string): return "\n".join([word for word in string.split("\n") if most_vowels(word)]) if __name__ == "__main__": text = "".join(sys.stdin.readlines()) sys.stdout.writelines(filter_by_number_of_vocals(text))