T = int(input()) for _ in range(T): N = int(input()) A = list(map(int,input().split())) S = sum(A) if S % 3 != 0: print('No') else: M = max(A) if M * 3 <= S: print('Yes') else: print('No')