function Main(input) {
  const N = input.split(' ')[0]
  const X = input.split(' ')[1]
  const T = input.split(' ')[2]

  const result = Math.ceil(N / X) * T
  console.log(result)
  }

  Main(require("fs").readFileSync("/dev/stdin", "utf8"));