n = input() i = 1 x = 0 while i <= n: x += i i += 1 print x