
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner fsc = new Scanner(System.in);
        int n=fsc.nextInt();
        System.out.println((n + 1)/2);
    }
}
