import java.util.Scanner;
 
public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
}
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
}
} Main public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
} main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int page = N; page N page = (int)Math.ceil((double)page / 2) page (int)Math.ceil((double)page / 2) Math.ceil Math (double)page / 2 (double)page 2 System.out.print(page) System.out.print System.out System System.out page String[] args args public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
}
} public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
}
} Main
import java.util.Scanner;
 
public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int page = N;
    page = (int)Math.ceil((double)page / 2);
    System.out.print(page);
}
}