Anagrams#4111

Anagrams

1 second
128 megabytes
Very easy

Two strings S_1 and S_2 are given. Determine, if the first string is an anagram of another. Two strings are anagrams, if one can be obtained from another by rearrangement of its letters. For example "abcde" and "bedca" are anagrams, "beta" and "teta" are not.

Input

First line contains the number of test cases (1 \le t \le 20). Each test case is a line with two strings separated with a space. Each string contains the symbols [...] only and its length no more than characters.

Output

For each test print YES if the given strings are anagrams, and NO otherwise.

Examples

Example 1

Loading
Loading