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