N = int(input()) print(sum([i for i in range(N+1)]))