Problem C
Fyrirtækjanafn
Languages
en
is
Hannes is working on his new startup company where his goal is to help other startup companies choose a good name. He has looked into several companies and thinks he has developed a formula that helps any company become a unicorn (reach a value of $\$ 1\, 000\, 000\, 000$).
Hannes’ formula is such that for any company, if it does not have a consonant in its name, the company will make it big. But Hannes can’t program so he asks you for help. He wants a program that takes a name suggestion as input and returns the suggestion with all consonants removed.
The letters a, e, i, o, u and y are vowels, all other letters are consonants.
Input
The input contains a line with the name suggestion $S$. The length of $S$ is at most $10^6$ and contains only English letters.
Output
Print the name suggestion with all consonants removed.
Scoring
Group |
Points |
Constraints |
1 |
25 |
The length of $S$ is at most $1\, 000$ |
2 |
75 |
No further constraints |
Sample Input 1 | Sample Output 1 |
---|---|
|
aeoo |
Sample Input 2 | Sample Output 2 |
---|---|
|
ie |
Sample Input 3 | Sample Output 3 |
---|---|
HannesIncorporated |
aeIooae |