Run ID:67590

提交时间:2024-03-17 09:46:11

n=int(input()) a=0 while n: a=int(((n+1)*n)/2) print(a) n=int(input())