From a13c746d0088d08fc4ee1c4371a16f297df2d2cd Mon Sep 17 00:00:00 2001 From: NuApt <83767632+NuApt@users.noreply.github.com> Date: Sun, 24 Oct 2021 17:08:41 +0530 Subject: [PATCH 1/2] Create Watermelon --- Codeforces/Watermelon | 1 + 1 file changed, 1 insertion(+) create mode 100644 Codeforces/Watermelon diff --git a/Codeforces/Watermelon b/Codeforces/Watermelon new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Codeforces/Watermelon @@ -0,0 +1 @@ + From 115a927e3c7726d5f591cfa84f6620556e5bcec0 Mon Sep 17 00:00:00 2001 From: NuApt <83767632+NuApt@users.noreply.github.com> Date: Sun, 24 Oct 2021 17:11:00 +0530 Subject: [PATCH 2/2] A. Watermelon, Problem 4A-8 --- Codeforces/Watermelon | 1 - Codeforces/Watermelon.py | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) delete mode 100644 Codeforces/Watermelon create mode 100644 Codeforces/Watermelon.py diff --git a/Codeforces/Watermelon b/Codeforces/Watermelon deleted file mode 100644 index 8b13789..0000000 --- a/Codeforces/Watermelon +++ /dev/null @@ -1 +0,0 @@ - diff --git a/Codeforces/Watermelon.py b/Codeforces/Watermelon.py new file mode 100644 index 0000000..b1b4c82 --- /dev/null +++ b/Codeforces/Watermelon.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +""" +Created on Fri Apr 23 07:56:29 2021 + +@author: Nikhil Singh +""" +#1st line for taking input for the weight of the watermelon. +w=int(input()) +#Asserting limit on input value of w. +1<=w<=100 +#Output part +if w%2 == 0: + if w>2: + print('YES') + else: + print('NO') +else: + print('NO')