Narek has to spend 2 hours with some 2-year-old kids at the kindergarten. He wants to…
- User
Narek has to spend 2 hours with some 2-year-old kids at the kindergarten. He wants to teach them competitive programming, and their first lesson is about palindromes.
Narek found out that the kids only know the vowels of the English alphabet (the letters 𝚊 , 𝚎 , 𝚒 , 𝚘 , and 𝚞 ), so Narek needs to make a string that consists of vowels only. After making the string, he'll ask the kids to count the number of subsequences that are palindromes. Narek wants to keep it simple, so he's looking for a string such that the amount of palindrome subsequences is minimal.
Help Narek find a string of length 𝑛 , consisting of lowercase English vowels only (letters 𝚊 , 𝚎 , 𝚒 , 𝚘 , and 𝚞 ), which minimizes the amount of palindrome† subsequences‡ in it.
† A string is called a palindrome if it reads the same from left to right and from right to left.
‡ String 𝑡 is a subsequence of string 𝑠 if 𝑡 can be obtained from 𝑠 by removing several (possibly, zero or all) characters from 𝑠 and concatenating the remaining ones, without changing their order. For example, 𝚘𝚍𝚘𝚌𝚜 is a subsequence of 𝚌𝚘𝚍𝚎𝚏𝚘𝚛𝚌𝚎𝚜 .
Input The first line of the input contains a single integer 𝑡 (1≤𝑡≤100 ) — the number of test cases. Subsequently, the description of each test case follows.
The only line of each test case contains a single integer 𝑛 (1≤𝑛≤100 ) — the size of the string.
Output For each test case, output any string of length 𝑛 that satisfies the above conditions.
give in C++
- Assistant