using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; public static class P { public static void Main() { var n = long.Parse(Console.ReadLine()); for (long i = 2; i * i <= n; i++) { if (n % i == 0) { Console.WriteLine("YES"); return; } } Console.WriteLine("NO"); } }