import java.util.Scanner;

public class Main
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	}
} Main public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	} main {
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int i = scan.nextInt(); i scan.nextInt() scan.nextInt scan scan.close() scan.close scan int ans = i / 2; ans i / 2 i 2 if (i % 2 == 1) {
			ans += 1;
		} i % 2 == 1 i % 2 i 2 1 {
			ans += 1;
		} ans += 1 ans 1 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	}
} public class Main
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int i = scan.nextInt();

		scan.close();

		int ans = i / 2;
		if (i % 2 == 1) {
			ans += 1;
		}

		System.out.println(ans);
	}
}
