T = int(input()) ans = [] for i in range(T): N =int(input()) lsA = list(map(int,input().split())) sumN = sum(lsA) if sumN%3 != 0: ans.append('No') continue sumN3 = sumN//3 if max(lsA) <= sumN3: ans.append('Yes') else: ans.append('No') print(*ans,sep='\n')