var input = require("fs").readFileSync("/dev/stdin", "utf8");
input = input.split("\n");
var ans = [];


var n = parseInt(input[0], 10);
x = parseInt((n + 1) / 2)


ans.push(x)


console.log(ans.join(" "))