while True: try: m = int(input()) a = [] for i in range(m * (m - 1) + 1, m * (m + 1), 2): a.append(i) for i in a: if i == a[-1]: print(i) else: print(i, end="+") except: break