fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int w=0 ;
  6. cin>>w;
  7. 1<=w<=100;
  8. if(w>2 && w%2==0)
  9. cout<<"YES" ;
  10. else
  11. cout<<"NO";
  12. return 0;
  13. }
Success #stdin #stdout 0s 5324KB
stdin
2
stdout
NO