a=int(input()) while i<=a: k+=i i+=1