while True:
try:
m = int(input())
print('+'.join([str(i) for i in range(m * m - m + 1, m * m + m, 2)]))
except:
break
while True:
try:
m = int(input())
print('+'.join([str(i) for i in range(m * m - m + 1, m * m + m, 2)]))
except:
break