import std; void main() { int N; readf("%d\n", N); int res = (N + 1) / 2; res.writeln; }