import java.util.Scanner; public class AreYouATraveller { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int remainder = n%2; int quotient = n/2; System.out.println(remainder + quotient); } }