import java.util.*; public class HatePrenum1 { public static void main(String[] args){ Scanner scan=new Scanner(System.in); long num=scan.nextLong(); boolean flag = false; if(num==1){ System.out.println("NO"); }else{ for(long i=2;i