import java.util.*;
public class Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  }
} import java.util.*; util.* java public class Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  }
} Main public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  } main {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  } Scanner in=new Scanner(System.in); in new Scanner(System.in) int n n c=0; c 0 n=in.nextInt() n in.nextInt() in.nextInt in while(n>=1)
    {
      n=n-2;
      c=c+1;
    } n>=1 n 1 {
      n=n-2;
      c=c+1;
    } n=n-2 n n-2 n 2 c=c+1 c c+1 c 1 System.out.println(c) System.out.println System.out System System.out c String args[] args public class Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  }
} public class Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  }
} Main
import java.util.*;
public class Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    int n,c=0;
    n=in.nextInt();
    while(n>=1)
    {
      n=n-2;
      c=c+1;
    }
    System.out.println(c);
  }
}