#include using lint=long long; using real=long double; int main(){ std::cin.tie(nullptr);std::ios_base::sync_with_stdio(false); std::cout.setf(std::ios_base::fixed);std::cout.precision(15); lint n;std::cin>>n; std::vectora(n); for(lint&x:a)std::cin>>x; lint m=std::min(n,18ll); lint M=1ll<map; lint bs0=-1,bs1=-1; for(lint bs=0;bs>i&1))continue; now+=a.at(i); } auto found=map.find(now); if(found!=map.end()){ bs0=found->second; bs1=bs; break; } map.emplace(now,bs); } if(bs0==-1){ std::cout<<"No"<<'\n'; return 0; } std::cout<<"Yes"<<'\n'; lint an=bs0^bs1; bs0^=an,bs1^=an; for(lint i=0;i>i&1?+1:bs1>>i&1?-1:0; std::cout<<(i?" ":"")<