cnt=1 def num(n): global cnt a=n//2 cnt+=a for i in range(2,a+1): num(i) return cnt n=int(input()) print(num(n))