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