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