#include <iostream>
#include <cmath>
using namespace std;
int main(void){
    float n;
    cin >> n;
    cout << ceil(n / 2);
}