#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long maxn = 1e2 + 5;
const int MOD = 1e9 + 7;
const double exps = 1e-6;
int main() {
  ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  int n;
  cout << ceil(n / 2.0) << endl;
  return 0;
}
