import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);

        int N=stdIn.nextInt();

        System.out.println(N/2+N%2);
        
        
        
    }

}
