function Main(input) {
	const col = input.split(" ");
	const N = col[0];
	const X = col[1];
	const T = col[2];
	
	console.log(Math.ceil(N/X) * T);
	
};

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