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