function displayDate(input){
	var pageCNT;
 
    input = input.split("\n")
  
  	const N = parseInt(input[0], 10);
	pageCNT = Math.ceil(N/2);
	console.log(pageCNT);
}
 
 
main(require("fs").readFileSync("/dev/stdin", "utf8"));