All Vowels

3.9

256 votes
Ad-Hoc, Approved, Basic Programming, Easy, Open
Problem

Vowels are very essential characters to form any meaningful word in English dictionary. There are 5 vowels in English language - a, e, i, o u. You are given a randoms string containing only lowercase letters and you need to find if the string contains ALL the vowels.

Input:

FIrst line contains N , the size of the string.
Second line contains the letters (only lowercase).

Output:

Print "YES" (without the quotes) if all vowels are found in the string, "NO" (without the quotes) otherwise.

Constraints:

The size of the string will not be greater than 10,000
1 ≤ N ≤ 10000

Sample Input
8
atuongih
Sample Output
NO
Time Limit: 2
Memory Limit: 256
Source Limit:
Editor Image

?