import sys input = sys.stdin.readline T=int(input()) for t in range(T): n=int(input()) A=list(map(int,input().split())) Asum = sum(A) print("Yes" if Asum%3==0 and max(A)<=Asum//3 else "No")