#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <queue>
using namespace std;

void solve()
{
	int n;
	cin >> n;
	cout << ceil(n / 2.0);
}

int main()
{
	solve();
}