HackerEarth Vowel Query problem solution - TheCScience