import java.util.*
fun main(args: Array<String>) {
    val reader = Scanner(System.`in`)
    val N = reader.nextInt()
    val X = reader.nextInt()
    val T = reader.nextInt()

    val count = N / X + if(N % X == 0) 0 else 1
    println(T*count)
}