import java.util.Scanner; public class Traveller{ public static void main(String[] args){ Scanner sc1 = new Scanner(System.in); int n = sc1.nextInt(); if(n % 2 == 0){ n = n/2; }else{ n = n/2 + 1; } System.out.println(n); } }