import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import static java.lang.System.*;
import static java.lang.Math.*;

public class Main
{
	public static void main(String []args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	}
	
	
}

 import java.io.*; io.* java import java.util.*; util.* java import java.util.Map.Entry; Entry java.util.Map import java.util.stream.Collectors; Collectors java.util.stream import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; public class Main
{
	public static void main(String []args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	}
	
	
} Main public static void main(String []args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) out.println((int)ceil((Double.parseDouble(br.readLine()))/2)) out.println out (int)ceil((Double.parseDouble(br.readLine()))/2) ceil (Double.parseDouble(br.readLine()))/2 (Double.parseDouble(br.readLine())) Double.parseDouble Double br.readLine() br.readLine br 2 String []args args public class Main
{
	public static void main(String []args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	}
	
	
} public class Main
{
	public static void main(String []args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	}
	
	
} Main
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import static java.lang.System.*;
import static java.lang.Math.*;

public class Main
{
	public static void main(String []args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		
		out.println((int)ceil((Double.parseDouble(br.readLine()))/2));
		

	}
	
	
}


