import java.util.Scanner;

class Main {
  public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int i =scanner.nextInt();
    int j = ( i / 2 ) + (i % 2);
    System.out.println(j);
    scanner.close();
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int i =scanner.nextInt();
    int j = ( i / 2 ) + (i % 2);
    System.out.println(j);
    scanner.close();
  }
} Main public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int i =scanner.nextInt();
    int j = ( i / 2 ) + (i % 2);
    System.out.println(j);
    scanner.close();
  } main {
    Scanner scanner = new Scanner(System.in);
    int i =scanner.nextInt();
    int j = ( i / 2 ) + (i % 2);
    System.out.println(j);
    scanner.close();
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int i =scanner.nextInt(); i scanner.nextInt() scanner.nextInt scanner int j = ( i / 2 ) + (i % 2); j ( i / 2 ) + (i % 2) ( i / 2 ) i 2 (i % 2) i 2 System.out.println(j) System.out.println System.out System System.out j scanner.close() scanner.close scanner String args[] args
import java.util.Scanner;

class Main {
  public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int i =scanner.nextInt();
    int j = ( i / 2 ) + (i % 2);
    System.out.println(j);
    scanner.close();
  }
}