summaryrefslogtreecommitdiff
path: root/4A
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-06-01 14:34:18 +0200
committermjkwiatkowski <mati.rewa@gmail.com>2026-06-01 14:34:18 +0200
commit7172d4f401f22192abc1e116a9a88c5078eb082f (patch)
tree65b099c01ddea514a99ad68bd6306fed1a6f8b67 /4A
initial commitHEADmaster
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;
+}