while 1:x=eval('[p*q*%s]'%raw_input().replace('range','1for %s in')%('p','q'));print'range(%d,%%d)'%min(x)%max(x)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page