#include using namespace std; #define int long long signed main(){ int n;cin>>n; vector a(n); for(auto&&e:a)cin>>e; multiset minus,plus; for(auto&&e:a){ if(e<0)minus.insert(e); else if(e>0)plus.insert(e); } while(minus.size()&&plus.size()){ int x=*--minus.end(); if(plus.empty()){ cout<<"No"<0){ plus.insert(x+y); minus.erase(minus.find(x)); plus.erase(plus.find(y)); }else{ minus.erase(minus.find(x)); plus.erase(plus.find(y)); } } if(minus.size()+plus.size()<=1){ cout<<"Yes"<