#include using namespace std; using i64 = long long; void solve(){ int N; scanf("%d", &N); vector A(N); for(auto& v : A){ scanf("%lld", &v); } i64 sm = accumulate(A.begin(), A.end(), 0ll), mx = (*max_element(A.begin(), A.end())); puts((sm % 3 == 0 && sm / 3 >= mx) ? "Yes" : "No"); } int main(){ int T; scanf("%d", &T); while(T--){ solve(); } }