n=int(input()) res = 0 for i in range(n+1): res += i print(res)