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