t = int(input()) for i in range(t): n = int(input()) a = list(map(int,input().split())) if sum(a) % 3 == 0 and max(a) <= sum(a)//3: print('Yes') else: print('No')