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