#include <cstdio>
int main() {
    int weight;
    scanf("%d", &weight);
    if (weight & 1 || weight <= 2) // 按位与可以判断奇偶,至于怎样判断,请看我的博客
        puts("NO, you can't divide the watermelon into two even parts.");
    else
        puts("YES, you can divide the watermelon into two even parts.");
    return 0;
}