/* Click on the checkbox for Add Custom Input and then write the input there before running the program */
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	}
} Main public static void main(String[] args) {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	} main {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) int n = input.nextInt(); n input.nextInt() input.nextInt input System.out.println((int)Math.ceil(n/2.0)) System.out.println System.out System System.out (int)Math.ceil(n/2.0) Math.ceil Math n/2.0 n 2.0 String[] args args public class Main {

	public static void main(String[] args) {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	}
} public class Main {

	public static void main(String[] args) {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	}
} Main
/* Click on the checkbox for Add Custom Input and then write the input there before running the program */
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
	    Scanner input = new Scanner(System.in);
	    int n = input.nextInt();
	    System.out.println((int)Math.ceil(n/2.0));
	}
}