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