main = do d <- readLn let f x | 2*x <= d = x*((d-2*x)`div`2) | otherwise = 0 in print $ maximum . map f $ [0..d]