function Main(input){
	const Input = input.split(" ");
	const n = Input[0];
	const x = Input[1];
  	const t = Input[2];
  const res = Math.ceil(n / x);
  const time = t * res;
  console.log(time);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));