//interactive struct S{ unsigned a; int j[18]; }; S s[80000]; int dv[18][80000]; int dn[18]; void add(ll i){ rep(z,1,18){ if(s[i].a&1<