import java.util.*;

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

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