#include using namespace std; int main(){ int n; cin >> n; cout << ceil(n / 2.0) << endl; }