import std; void main() { const n = readln.chomp.to!int; writeln(ceil(n / 2.0L)); }