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