T = int(input()) for _ in range(T): N = int(input()) A = list(map(int, input().split())) ma = max(A) s = sum(A) if s%3==0 and (s-ma)>=ma*2: print("Yes") else: print("No")