#include int main(void){ int a=0,b=0,c=0,d=0; scanf("%d",&a); b=a/2; c=a%2; d=b+c; printf("%d",d); return 0; }