print((N:=int(input()))*(N+1)//2)