k=int(input()) for x in range(k,2*k+1): if x-k==0 or k*x%(x-k)>0: continue y=k*x//(x-k) if y>0: print("1/{} = 1/{} + 1/{}".format(k,x,y))