Given two strings, check whether two given strings are anagram of each other or not. An anagram of a string is another string that contains same characters, only the order of characters can be different. For example, “act” and “tac” are anagram of each other.
The first line of input contains an integer T denoting the number of test cases. Each test case consist of two strings in 'lowercase' only, in a single line.
Print "YES" without quotes if the two strings are anagram else print "NO".
1 ≤ T ≤ 30
1 ≤ |s| ≤ 1016