import sys import io, os input = sys.stdin.buffer.readline #input = io.BytesIO(os.read(0,os.fstat(0).st_size)).readline 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') continue m = s//3 if max(A) <= m: print('Yes') else: print('No')