#include using namespace std; int main() { int t; cin >> t; for(int i=0;i> n; int a[n]; string out = "Yes"; long long total = 0; int maxA = 0; for(int j=0;j> a[j]; total += a[j]; maxA = max(maxA, a[j]); } if(total % 3 != 0 || maxA > total / 3) out = "No"; cout << out << '\n'; } }