import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in)); try { long num = Long.parseLong(stdReader.readLine()); int count = 0; for(long i=2;i*i1) count++; if(count >= 3) System.out.println("YES"); else System.out.println("NO"); } catch (IOException e) { e.printStackTrace(); } } }