first = input() A = int(first) B = 0 i = 1 while i<=A: B=B+i i=i+1 print(B)