import sys input = lambda: sys.stdin.readline().rstrip() import bisect import itertools import math from collections import deque from collections import Counter import copy INF = 10 ** 9 import random def solve(): n = int(input()) a = list(map(int,input().split())) if sum(a) % 3 == 0 and max(a) <= sum(a) // 3: return 'Yes' else: return 'No' t = int(input()) for _ in range(t): print(solve())