D=int(input()) x=D//4 D-=x*4 if x>=2: print(x*(x+1)) else: print(x*x)