diff options
| author | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-01 14:34:18 +0200 |
|---|---|---|
| committer | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-01 14:34:18 +0200 |
| commit | 7172d4f401f22192abc1e116a9a88c5078eb082f (patch) | |
| tree | 65b099c01ddea514a99ad68bd6306fed1a6f8b67 /4A | |
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; +} |
