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