#include using namespace std; void testcase() { int N; cin >> N; if (N % 2 == 1) { cout << N / 2 + 1 << '\n'; } else { cout << N / 2 << '\n'; }; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); testcase(); return 0; }