using System; namespace No36_1{ public class Program{ public static void Main(string[] args){ var input = long.Parse(Console.ReadLine()); var tmp = input; var cnt = 0; while(tmp % 2 == 0){ tmp /= 2; cnt++; if(cnt >= 2){ if(input != 4){ Console.WriteLine("YES"); return; } } } for(long i = 3; i * i <= input; i += 2){ while(tmp % i == 0){ tmp /= i; cnt++; if(cnt >= 2){ if(!(i * i == input && cnt == 2)){ Console.WriteLine("YES"); return; } } } } Console.WriteLine("NO"); } } }