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