A = int(input()) B = 0 for i in range(A+1): B += i print(B)