summaryrefslogtreecommitdiff
path: root/4A
diff options
context:
space:
mode:
Diffstat (limited to '4A')
-rwxr-xr-x4A/mainbin0 -> 16224 bytes
-rw-r--r--4A/main.cpp20
2 files changed, 20 insertions, 0 deletions
diff --git a/4A/main b/4A/main
new file mode 100755
index 0000000..c11717e
--- /dev/null
+++ b/4A/main
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;
+}