#include using namespace std; using ll = long long; using P = pair; using PL = pair; // Welcome to my source code! int main() { int n; cin >> n; cout << ceil((double)n / 2) << endl; }