#include using namespace std; int main() { int n,p=0; cin>>n; cout<<(n+1)/2<