#include <iostream>

using namespace std;

int Main()
{
    int n;
    cin >> n;
    int ans=n/2;
    if(n%2==1){
    cout << ans+1 << endl;
    }
    else{
        cout<<ans<<endl;
    }
    return 0;
}