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