map>g; mapv; ll n,m,b,c,w,z; void f(int i){ for(auto j:g[-i]) if(j