n = int(input()) sum = 0 for v in range(n+1): sum = sum + v print(sum)