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