first = input() split_first = first.split() A = int(split_first[0]) B = 0 i = 1 while i<=A: B=B+i i=i+1 print(B)