n = int(input()) cnt = 0 for x in range(n+1): for y in range(n+1): if x+y <= n: cnt += 1 print(cnt)