using System; using System.Text; using System.Collections.Generic; using System.Linq; class Program { static void Main() { long n = long.Parse(Console.ReadLine()); if(!IsPrime(n)) { Console.WriteLine($"YES"); } else { Console.WriteLine($"NO"); } } public static bool IsPrime(long number) { if(number <= 2) return true; else if(number % 2 == 0) return false; for(long i = 3; i <= number; i += 2) { if(number % i == 0) { return false; } } return true; } }