#pragma GCC optimize("Ofast") #include #include #include #include #include #include #include #include #include const long long INF_L = 1e17+7; const long long INF_I = 1e9+7; const long long MOD = 1e9+7; const double EPS = 1e-8; const double PI=acos(-1); using namespace std; int main(){ cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; int ans=(n+1)/2; cout << ans << endl; return 0; }