n = int(input())

square = n ** 3
r = [_ for _ in range(1, n*2, 2)]
if sum(r) == square:
    print("+".join(map(str, r)))
else:
    sum_ = sum(r)
    for i in range(r[-1], square, 2):
        r.pop(0)
        r.append(i)
        if sum(r) == square:
            break
    print("+".join(map(str, r)))