It’s really easy problem..You will enjoy definitely
#include<iostream> #include<cstdio> int main() { unsigned int weight,divide; while(scanf("%u",&weight)==1){ divide=weight%2; if(divide==0 && weight>2) printf("YES\n"); else printf("NO\n"); } return 0; }