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