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