import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); int n = koko.nextInt(); int count =0; if(n==1||n==2||n==3){ System.out.println("NO"); }else{ for(int i=2; i0){ System.out.println("YES"); }else{ System.out.println("NO"); } } } }