import java.io.*;
import java.util.*;
import java.math.*;

public class Main
{
    public static void main(String[]args)throws IOException
    {
         Scanner sc = new Scanner(System.in);
         int n = sc.nextInt();
         if(N%2==0)
         {
              System.out.println((N/2));
         }
         else
         {
              System.out.println((N/2)+1);
         }
    }
}
           