fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int w;
  6. cin>>w;
  7. w%2 == 0 && w !=2 ? cout<<"YES" : cout<<"NO" ;
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0s 5284KB
stdin
2

stdout
NO