while True:
try:
n = int(input())
res, nums = n ** 3, []
for i in range(1, res, 2):
nums.append(i)
for i in range(len(nums)-n):
if sum(nums[i:i+n]) == res:
print('+'.join(list(map(str, nums[i:i+n]))))
break
except:
break