from sys import stdin t, *indata = map(int, stdin.read().split()) offset = 0 for _ in range(t): n = indata[offset] a = [] for i in range(n): a.append(indata[offset+i+1]) offset += n + 1 val = sum(a) if val % 3 != 0: print("No") else: val = val // 3 check = True for i in range(n): if a[i] > val: check = False if check: print("Yes") else: print("No")