import java.util.*;

public class Main{
  public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	}
} import java.util.*; util.* java public class Main{
  public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	} main {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int num1 num1 num2 num2 total = 0; total 0 num1 = N / 2 num1 N / 2 N 2 num2 = N % 2 num2 N % 2 N 2 total = num1 + num2 total num1 + num2 num1 num2 System.out.println(total) System.out.println System.out System System.out total String[] args args public class Main{
  public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	}
} public class Main{
  public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	}
} Main
import java.util.*;

public class Main{
  public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int num1,num2,total = 0;
        num1 = N / 2;
        num2 = N % 2;
        total = num1 + num2;
        System.out.println(total);
	}
}