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