Codeforces solution 4A Watermelon

#include<stdio.h>
int main()
{
    int n;
    scanf("%d",&n);
    if(n%2==0 && n>=4)
    {
        printf("YES\n");
    }
    else
    {
        printf("NO\n");
    }
    return 0;
}

Comments

Popular posts from this blog

Uri Solution 2747 Output 1

Codeforces Solution 230B T-primes