import java.util.Scanner;

public class Main {
	static Scanner scn = new Scanner(System.in);

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

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

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

	public static void main(String[] args) {
		int n = scn.nextInt();
		int ans=n/2+n%2;
      System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main {
	static Scanner scn = new Scanner(System.in);

	public static void main(String[] args) {
		int n = scn.nextInt();
		int ans=n/2+n%2;
      System.out.println(ans);
	}
}
