#include using namespace std; int main( int argc, char *argv[] ) {int n; cin>>n; if(n%2==0){n=n/2;} else{n=(n/2)+1;} cout<