A = int(input()) sum = 0 for i in range(A): sum += i+1 print(sum)