using System; class Program { public static void Main(string[] args) { long n = long.Parse(Console.ReadLine()); double max = Math.Sqrt(n); for (long i = 2; i <= max + 1; i++) { if (n % i == 0) { Console.WriteLine("YES"); return; } } Console.WriteLine("NO"); } }