#include <bits/stdc++.h>
using namespace std;
using llong = long long;
using P = pair<int, int>;
const int inf = 1 << 20;
const int mod = 1e9 + 7;
int main() {
  int n;
  cout << (n + 1) / 2 << endl;
  return 0;
}
