module Main where

import Control.Monad
import Control.Applicative
import Data.List
import Lib

main :: IO ()
main = do
    [n, x, t] <- map read . words <$> getLine
    print $ ((n - 1 + x) `div` x) * t