import sys input = sys.stdin.readline T=int(input()) for tests in range(T): n=int(input()) A=list(map(int,input().split())) if sum(A)%3!=0: print("No") continue A.sort() if A[-1]+A[-2]<=sum(A)//3*2: print("Yes") else: print("No")