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