Melon Split (Math)
Two friends buy a melon weighing w kilos. Can they cut it into two pieces that each weigh an even, positive number of kilos? Print YES or NO.
Input: One integer 1 ≤ w ≤ 100.
Output: YES or NO.
Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- An odd total can never be two even parts.