def test(N, A): if sum(A) % 3 != 0: return False return sum(A) // 3 >= max(A) T = int(input()) for _ in range(T): N = int(input()) A = list(map(int, input().split())) if test(N, A): print("Yes") else: print("No")