L = int(input()) ans = 0 odd = (L+1)//2 even = L//2 ans += odd*(odd-1)//2 ans += even*(even-1)//2 print(ans)