function Main(input) {
  	const input_split = input.split(" ")
  
    let output;
	console.log(input_split[2]*Math.ceil((input_split[0]/input_split[1])));
}

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