k=int(input()) for x in range(k+1,2*k+1): #x最小是k+1,最大是2k y=x*k//(x-k) if x*k%(x-k)==0: print("1/{} = 1/{} + 1/{}".format(k,x,y))