def nf(n):#運算 term = 1 # First term for i in range(1, n): term += i#+1, +2... return term
while True:#重複執行 try:#輸入+輸出 n = int(input()) print(str(nf(n))) except EOFError:#EOF結束 break