using System; public class hello { static void Main() { var n = int.Parse(Console.ReadLine().Trim()); getAns(n); } static void getAns (int n) { for (int i = 3; i * i <= n; i+= 2) { if (n % i == 0) { Console.WriteLine("YES"); return; } } Console.WriteLine("NO"); } }