#include int main() { int N; std::cin >> N; std::cout << (N + 1) / 2 << std::endl; return 0; }