def main(): n=int(input()) arry=[1] d=1 for i in range(1,50): arry.append(arry[i-1]+d) d+=x print(sum(arry)) while(1): try: main() except: break
x自己補