n=int(input()) ans=0 for i in range(n+1): for j in range(n+1): if i+j>n: continue ans+=1 print(ans)