using System;

namespace Atcoder
{
    class ABC157_A
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int m = n/2;
            Console.WriteLine(m); 
        }
    }
}