#include using namespace std; int main(){ double n; cin >> n; int ans = ceil(n / 2); cout << ans << endl; return 0; }