DECSTRNG - Decreasing Strings
You need to find a string which has exactly K positions in it such that the character at that position comes alphabetically later than the character immediately after it. If there are many such strings, print the one which has the shortest length. If there is still a tie, print the string which comes the lexicographically earliest (would occur earlier in a dictionary).
The first line contains the number of test cases T. Each test case contains an integer K (<= 100)
Output T lines, one for each test case, containing the required string.
Sample Input :
Sample Output :