a,b,c=map(int,raw_input().split()) f=a*c exec"d=f\nwhile f%d+c%d:d-=1\nprint`f/d`+('/'+`c/d`)*(c>d),;f+=b-a;"*-~c