n = int(input()) sm = 0 for x in range(0,n+1): sm += x print(sm)