#include<iostream> #include<cmath> using namespace std; int main() { int n; cin>>n; cout<<ceil(n*1.0/2); return 0; }