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