n=int(input()) ans=0 for i in range(n): for j in range(i,n+1): if 0 <= i + j <= n: if i == j: ans+=1 else: ans+=2 print(ans)