题目描述
Panda had recently learnt about Bit manipulation and logic gates,now he is very excited about it.One day he came across a very interesting question: Given two numbers,xor them and then in resulting number find the number of set bits.If number of set bits are even then print "YES" otherwise "NO".As he is unable to solve it,he is asking you for help.
Input:
First line of input contains T the number of test cases,then next T lines contains two space separated integers A and B.
Output:
for each testcase print "YES" if number of set bits are even otherwise "NO" in new line.
Constraints:
1 ≤ T ≤ 500
1 ≤ A,B ≤ 10^9
SAMPLE INPUT
2
6 5
10 11
SAMPLE OUTPUT
YES
NO
输入格式
见题面
输出格式
见题面
样例输入
2
6 5
10 11
SAMPLE
样例输出
YES
NO