t = int(input()) for _ in range(t): n = int(input()) A = list(map(int,input().split())) if sum(A)%3: print("No") continue if max(A) > sum(A)//3: print("No") else: print("Yes")