function Main(input) {
  const line = input.split(" ")
  const N = line[0]
  const X = line[1]
  const T = line[2]
  const kaisuu = Math.ceil(N / X)
  const jikan = kaisuu * T
 	console.log(jikan)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));