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