#include using namespace std; int main() { int x; cin >> x; if (x % 2 == 1) cout << x / 2 + 1 << endl; else cout << x / 2 << endl; return 0; }