x,y,d=map(int,raw_input().split()) n=x*d exec"a=n\nwhile n%a+d%a:a-=1\nprint`n/a`+('/'+`d/a`)*(d>a),;n+=y-x;"*-~d
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page