x = int(input()) sum =0 for n in range(x): sum+=n+1 print(sum)