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