Decide whether a watermelon weight can be split into two positive even parts.
You are given a positive integer — the weight of a watermelon.
You want to split it into two positive parts such that:
Determine whether this is possible.
Return YES if such a split exists, otherwise return NO.
A split into two parts means both parts must be strictly greater than $0$.
A single integer .
Print YES if can be split into two positive even integers, otherwise print NO.
Example 1
Input
8
Output
YES
Explanation
It can be split as 2 and 6, and both parts are positive even numbers.
Example 2
Input
1
Output
NO
Explanation
It is impossible to split 1 into two positive even parts.
Example 3
Input
3
Output
NO
Explanation
An odd total cannot be written as a sum of two even positive integers.
Premium problem context
Premium adds guided hints, editorial links, similar variants, discussion resources, and concept maps so you can understand why a problem matters, not just solve it once.