LearnPy Hub
← Arena
IntermediateRating 1100

Reverse the Vowels

Reverse only the vowels (a, e, i, o, u in either case) in the string; other characters stay in place.

Input

One line.

Output

One line.

Sample 1

Input
hello
Output
holle

Sample 2

Input
leetcode
Output
leotcede
solution.py
Output appears here
Reverse the Vowels · Python Arena problem · LearnPy Hub