//package atcoder;
 
import java.util.*;
import java.math.BigDecimal;
 
public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	}
} import java.util.*; util.* java import java.math.BigDecimal; BigDecimal java.math public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double ans = ((double)N/2); ans ((double)N/2) (double)N 2 System.out.println((int)Math.ceil(ans)) System.out.println System.out System System.out (int)Math.ceil(ans) Math.ceil Math ans String[] args args public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	}
} public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	}
} Main
//package atcoder;
 
import java.util.*;
import java.math.BigDecimal;
 
public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double ans = ((double)N/2);
		System.out.println((int)Math.ceil(ans));
	}
}