fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main(){
  5. int w; cin >> w;
  6.  
  7. if (w%2 == 0 && w != 2){
  8. cout << "YES\n";
  9. }
  10. else{
  11. cout << "NO\n";
  12. }
  13. }
Success #stdin #stdout 0s 5268KB
stdin
Standard input is empty
stdout
YES