#include <cstdlib>
#include <cstdio>
#include <string>
#include <algorithm>
#include <vector>
#include <iostream>

using namespace std;

int main() {
    int n;
    cin >> n;
    cout << ceil((double)n/2);
}