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