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