f=lambda x:1 if x<1 else x*f(x-1) ncr=lambda n,r:f(n)//f(r)//f(n-r) print(ncr(int(input())+2,2))