Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int w;
- cin >> w;
- if (w == 2)
- cout << "NO";
- else if(w % 2 == 0)
- cout << "YES";
- else if(w % 2 == 1)
- cout << "NO";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement