function Main(input) {
  input = input.trim().split("\n");
  const [n, x, t] = input[0].split(" ").map((a) => parseInt(a, 10));

  console.log(Math.ceil(n / x) * t);
}

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