diff options
Diffstat (limited to '4A')
| -rwxr-xr-x | 4A/main | bin | 0 -> 16224 bytes | |||
| -rw-r--r-- | 4A/main.cpp | 20 |
2 files changed, 20 insertions, 0 deletions
| Binary files differ diff --git a/4A/main.cpp b/4A/main.cpp new file mode 100644 index 0000000..ba7d771 --- /dev/null +++ b/4A/main.cpp @@ -0,0 +1,20 @@ +#include <iostream> + +using namespace std; + +int main(){ + int a = 0; + cin>>a; + int even = (a % 2) ? 0 : 1; + if(!even){ + cout<<"NO"; + return 0; + } + a -= 2; + if(a <= 0){ + cout<<"NO"; + return 0; + } + cout<<"YES"; + return 0; +} |
