import java.util.*;
import java.lang.Math;
import java.io.*;

public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  }
}