#include using namespace std; int n; int main(void) { cin >> n; cout << (n+1)/2 << endl; return 0; }