import java.io.*; public class Tester { public static void main(String... args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = Integer.parseInt(br.readLine()) +1; System.out.println(num/2); } }