import java.util.Scanner;
public class Main{
    public static void main(String []args){
        Scanner sc  = new Scanner(System.in);
        int weight = sc.nextInt();
        if(weight % 2 == 0 && weight != 2){
            System.out.printf("YES, you can divide the watermelon into two even parts.");
        }else{
            System.out.printf("NO, you can't divide the watermelon into two even parts.");
        }
    }
}这题要注意 weight != 2,因为为2时切开后各部分不是偶数,不符合题意。