fun intList() = readLine()?.split(" ")?.map(String::toInt) ?: TODO()
fun main() {
    val (n, x, t) = intList()
    val a = n / x
    val b = if (n % x == 0) 0 else 1
    println(((a + b) * t).toString())
}