a=0 N=int(input()) while True: a += N N -= 1 if N == 0: break print(a)