#K71807. Filter Strings Containing Only Vowels
Filter Strings Containing Only Vowels
Filter Strings Containing Only Vowels
You are given a list of strings. Your task is to output each string that consists solely of vowels. The vowels are defined as \(a, e, i, o, u\) in both lowercase and uppercase.
The order of the output strings should be the same as their order in the input. If there are no strings that contain only vowels, print nothing.
Note: Each string is read from the standard input and the results must be printed to the standard output.
inputFormat
The first line of input contains an integer \(n\) representing the number of strings. The following \(n\) lines each contain a single string.
outputFormat
For every string that contains only vowels, output it on a separate line in the same order as they appear in the input. If no string qualifies, do not output anything.
## sample4
aeiou
hello
Ou
sky
aeiou
Ou
</p>