for(;k-->y=-x=25;){for(i=13;i--;j=9)for(b=a[i]=read();i<2&&j-->7;y<p&&y=p)if(x>p=b*a[j])x=p;print"range(",x,",",y,") "}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page