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