import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	}

}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	} main {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	} Scanner sc = new Scanner(System.in) ; sc new Scanner(System.in) double a = Double.parseDouble(sc.next()); a Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc System.out.println((int)(Math.ceil(a/2.0))) System.out.println System.out System System.out (int)(Math.ceil(a/2.0)) Math.ceil Math a/2.0 a 2.0 String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in) ;

		double a = Double.parseDouble(sc.next());

		System.out.println((int)(Math.ceil(a/2.0)));

	}

}

