n=int(input()) print((n+1)*n//2)
------Input------ 23 59------Answer----- 276 1770------Your output----- 276