import scala.math.ceil

object Main extends App {
  
  val sc = new java.util.Scanner(System.in)
  val N = sc.nextDouble()
  val X = sc.nextDouble()
  val T = sc.nextInt()
  val ans = ceil(N / X) * T
  println(ans.toInt)

}