Run ID:85844

提交时间:2024-07-20 20:29:15

s = [] while True: n = input() if n != "EOF": s.append(int(n)) else: break for i in s: print((1+i)*i/2)