def solve(): N = int(input()) A = list(map(int, input().split())) tot = sum(A) if tot % 3 != 0: return False k = tot // 3 return max(A) <= k T = int(input()) for _ in range(T): ans = solve() if ans: print('Yes') else: print('No')