You are given an array A[1…N] containing N integers. You can apply the following operation atmost once :
Find if it possible to make the sum of integers on the odd indices of A equal to the sum of integers on the even indices.
Input format
Output format
For each test case, print YES if it is possible to achieve to requied goal, otherwise print NO in a separate line.
Constraints
1≤T≤1052≤N≤5⋅105−109≤Ai≤109Sum of N over all test cases does not exceed5⋅105.
In the first test case, apply the operation on the subarray A[3…4] making A=[1,5,2,−3,−1], Now the sum of elements on the odd indices is 1+2−1=2, and the sum of elements on the even indices is 5−3=2.
In the second test case, it is impossible to achieve the goal.