#include <bits/stdc++.h>
using namespace std;
using lint = long long int;
lint digit(lint);
int main() {
  int n;
  if (n % 2)
    cout << n / 2 + 1 << endl;
  else
    cout << n / 2 << endl;
}
lint digit(lint num) {
  lint dig = 0;
  while (num) {
    num /= 10;
    ++dig;
  }
  return dig;
}
