Run ID:85845
提交时间:2024-07-20 20:31:20
s = [] while True: n = input() if n != "EOF": s.append(int(n)) else: break for i in s: print(int((1+i)*i/2))