Besher and his wife are playing a game on $$$n$$$ piles of stones, each one contains $$$a_i$$$ stones. On each player's turn, they can do one of these actions:
The first player who is unable to make a move loses (all piles are empty).
Given that Besher goes first, who will win the game if both players play optimally?
Each test consists of multiple test cases. The first line contains a single integer $$$t$$$ $$$(1 \le t \le 10^4)$$$ — the number of test cases. The description of the test cases follows.
The first line of each test case contains a single integer $$$n$$$ $$$(1 \leq n \leq 2 \cdot 10^{5})$$$ — the number of piles in the game.
The second line of each test case contains $$$n$$$ integers $$$a_1, a_2, \ldots, a_n$$$ $$$(1 \le a_i \le 10^9)$$$ — the elements of the array $$$a$$$, describing the initial number of stones.
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$2 \cdot 10^5$$$.
For each test case, output "YES" if Besher wins, and output "NO" otherwise.
331 2 321 211
NO YES YES