N = int(input()) c = 0 for i in range(N+1): c += i print(c)