ll@l,@r,x; rep(x,l|1,r+1,2){ ll f[64]; if(Factor(x,f)==3&&f[0]*f[0]*f[1]*f[2]==x){ wt(x); exit(0); } } wt(-1);