Divide section by recursive

b,e,s=map(int,raw_input().split())
v=b*s
exec'n,d=v,s\nfor f in[2,3,7,19]*4:\n if n%f+d%f<1:n/=f;d/=f\nprint`n`+"/%i"%d*(d>1),;v+=e-b;'*-~s

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

download

return top