def solve():
    N = int(input())
    A = list(map(int, input().split()))

    sumA = sum(A)
    x = sumA / 3
    flg = True
    if x != int(x):
        flg = False
    for a in A:
        if a > x:
            flg = False
    print("Yes" if flg else "No")


T = int(input())
for _ in range(T):
    solve()