using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { int nn = int.Parse(Console.ReadLine()); int mm = nn - 7; int i; for (i = mm / 7; i > 0; i--) { if (mm % i == 0) break; } Console.WriteLine(mm/i); Console.ReadLine(); } } }