/ leetcodesolve / Codeforces / watermelon.py
swadhinbiswas update on more code · 1/14/2025
72d8a7a
19 lines · 245 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

def watermellon(weight):
    if weight<=100:
       if weight%2==0 and weight>2:
        print("YES")
       else:
        print("NO")
    else:
        return -1

if __name__ == "__main__":
    weight=int(input())
    watermellon(weight)