import Control.Applicative (liftA2) main = getLine >>= print . sumTo . read where sumTo = (`div` 2) . liftA2 (*) id (+ 1)