#include using namespace std; using ll = long long; const int INF = 1<<30; const long long LINF = 1LL<<60; const long long MOD = (long long)1e9 + 7; int main(){ int t; cin >> t; while(t--){ int n; cin >> n; int m = 0, sum = 0; for(int i = 0; i < n; i++){ int a; cin >> a; m = max(a, m); sum += a; } if(sum % 3 == 0 && m <= sum / 3 ){ cout << "Yes" << endl; }else{ cout << "No" << endl; } } return 0; }