class Program { static void Main(string[] args) { int input = int.Parse(Console.ReadLine()!); Console.WriteLine((input / 3) / 2); } }