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