#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long inf = 9223372036854775807;
const long long mininf = -9223372036854775807;
const long long nax = 0;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie();
  cout.tie();
  int a;
  cout << (a + 1) / 2 << endl;
}
