while True: try: n = int(input()) for i in range(n): print(n * n - n + 1 + 2 * i,end='') if i != n - 1: print('+',end='') except: break