fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. int w;
  6. cin>>w;
  7.  
  8. if(w%2==1)
  9. {
  10. cout<<"NO"<<endl;
  11. }
  12. else{
  13. if(w==2)cout<<"NO"<<endl;
  14. else cout<<"YES"<<endl;
  15. }
  16. return 0;
  17.  
  18. }
  19.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
YES