#include using namespace std; int main() { int n; cin >> n; int ans = (n + 1) / 2; cout << ans << '\n'; return 0; }