import java.io.BufferedReader; 
import java.io.IOException; 
import java.io.InputStreamReader; 
public class Main  
{ 
    public static void main(String[] args) throws IOException  
    { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } 
}  import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main  
{ 
    public static void main(String[] args) throws IOException  
    { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } 
} Main public static void main(String[] args) throws IOException  
    { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } main { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String input = reader.readLine(); input reader.readLine() reader.readLine reader int n = Integer.valueOf(input); n Integer.valueOf(input) Integer.valueOf Integer input int res = n % 2 == 0 ? n / 2 : n /2 + 1; res n % 2 == 0 ? n / 2 : n /2 + 1 n % 2 == 0 n % 2 n 2 0 n / 2 n 2 n /2 + 1 n /2 n 2 1 System.out.println(res) System.out.println System.out System System.out res String[] args args public class Main  
{ 
    public static void main(String[] args) throws IOException  
    { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } 
} public class Main  
{ 
    public static void main(String[] args) throws IOException  
    { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } 
} Main
import java.io.BufferedReader; 
import java.io.IOException; 
import java.io.InputStreamReader; 
public class Main  
{ 
    public static void main(String[] args) throws IOException  
    { 
        //Enter data using BufferReader 
        BufferedReader reader =  
                   new BufferedReader(new InputStreamReader(System.in)); 
         
        // Reading data using readLine 
        String input = reader.readLine(); 
      	int n = Integer.valueOf(input);
      	int res = n % 2 == 0 ? n / 2 : n /2 + 1;
  
        // Printing the read line 
        System.out.println(res);         
    } 
} 