while True: try: n = int(input()) mid = n * n dis = n - 1 start = mid - dis end = mid + dis for i in range(start, end +1): if i == start: res = str(start) elif i % 2 == 1: res += '+' + str(i) print(res) except: break
while True: try: n = int(input()) mid = n * n dis = n - 1 start = mid - dis end = mid + dis for i in range(start, end +1): if i == start: res = str(start) elif i % 2 == 1: res += '+' + str(i) print(res) except: break