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