a,b,c=map(int,raw_input().split()) i=a*c exec"q=c;j=i\nwhile q:j,q=q,j%q\nprint`i/j`+['/'+`c/j`,''][c==j],;i+=b-a;"*-~c