#include<iostream> using namespace std; int main(){ int n,m; cin>>n; if(n%2==0) { cout<<n/2; } else { m=n/2; cout<<m+1; } return 0; }