t = int(input()) for _ in range(t): n = int(input()) a = list(map(int, input().split())) if sum(a) % 3 != 0: print("No") else: num = sum(a) // 3 if max(a) > num: print("No") else: print("Yes")