If you have read Harry Potter, you know that the lord of evil, Lord Voldemort, created his name by rearranging the letters of his real name. Thus, from the name "Tom Marvolo Riddle" he formed "I am Lord Voldemort".
The first line contains the number of tests . The next lines each contain two words separated by a space. The length of each word is greater than and does not exceed characters.
For each test case, output "Yes" if it is possible to obtain one name from the other by rearranging its letters, and "No" otherwise.
Example 1
Rearranging (permutation) changes the order of the letters in the word, but no new letters may be added and no original letters may be removed. For example, you can convert "aabc" to "abca", but not to "bac", "abc", "aabca", or "aacbb".
The words contain only English letters (–, –).
The words do not contain spaces.
You may ignore case when comparing words, i.e., is considered equal to , to , and so on.