#include using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) int main(){ int N; cin >> N; cout << (N+1)/2 << endl; }