观察题目可得出规律:输入整数m, m的立方等于m x (m - 1) + 1和m x (m + 1)之间的奇数相加。
while True:
try:
m = int(input())
lst = []
for i in range(m * (m - 1) + 1, m * (m + 1)):
if i % 2 != 0:
lst.append(i)
print('+'.join(map(str, lst)))
except:
break