function Main(input) {
	var input = parseInt(input);
	var paper = 0;
	if(input % 2 == 0) {
		paper = input / 2;
	} else {
		paper = parseInt(input / 2) + 1;
	}

	console.log(paper);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));