import sys import math from math import sin, cos, tan from functools import reduce from collections import deque import heapq sys.setrecursionlimit(1000000) intm1 = lambda x:int(x)-1 N = int(input()) print((N+2) * (N+1) // 2)