while True: try: n = int(input()) l = [i for i in range(1, n**3+1) if i%2 != 0] for i in range(len(l)): if sum(l[i:n+i]) == n**3: print('+'.join(map(str,l[i:n+i]))) except: break
while True: try: n = int(input()) l = [i for i in range(1, n**3+1) if i%2 != 0] for i in range(len(l)): if sum(l[i:n+i]) == n**3: print('+'.join(map(str,l[i:n+i]))) except: break