main(n){scanf("%d", &n);printf("%d",n%2?n/2+1:(n/2));}