You are given an array $$$a$$$ of $$$n$$$ positive integers.
You may perform the following operation any number of times:
Determine whether it is possible to delete all elements of the array using these operations.
The first line contains a single integer $$$t$$$ ($$$1 \le t \le 10^4$$$) — the number of test cases.
The first line of each test case contains a single integer $$$n$$$ ($$$1 \le n \le 3 \cdot 10^5$$$) — the length of the array.
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.
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$3 \cdot 10^5$$$.
For each test case, print YES if it is possible to delete all elements of the array, and NO otherwise.
231 2 147 1 2 4
YESNO
In the first test case,
| Name |
|---|


