#include using namespace std; int main() { int N; scanf("%d", &N); int ans = N / 2 + (N & 1); printf("%d\n", ans); }