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