fork download
  1. #include<bits/stdc++.h>
  2. #define int long long
  3. using namespace std;
  4. int32_t main()
  5. {
  6. int t=1;
  7. // cin>>t;
  8. while(t--)
  9. {
  10. int n;
  11. cin>>n;
  12. if(n%2==0)
  13. {
  14. if(n==2)
  15. cout<<"NO";
  16. else
  17. cout<<"YES";
  18. }
  19. else
  20. cout<<"NO";
  21. cout<<'\n';
  22. }
  23. return 0;
  24. }
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
YES