n=int(input())//2 def f(n): return max(0,(n*(n+1))/2) print (f(n)+f(n-1))