N = int(input()) a = 0 b = 0 while a <= N: b += a a += 1 print(b)