Run ID:85312

提交时间:2024-07-17 00:41:44

n=int(input()) list=[] a=2 b=1 res=-1 while b <=n: a+=res list.append(a) res+=1 b+=1 print(list[4])