#include int main() { int N; if (scanf("%d", &N) != 1) { return -1; } N = (N % 2 + N) / 2; printf("%d", N); return 0; }