Magic fruit

3.2

13 votes
Very-Easy
Problem

From the divine land of heaven came to earth a fruit known as Magic fruit.Unfortunately the fruit was found by two friends X and Y. After lot of fighting,they came to the conclusion that they will share the fruit if and only if when they can divide it into two even weighing parts without wasting any part of fruit. Given weight of the fruit tell them if they can share it.

Input

The first (and the only) input line contains integer number w (1 ≤ w ≤ 100) — the weight of the magic fruit.

Output

Print YES, if the boys can divide the magic fruit into two parts, each of them weighing even number of kilos; and NO in the opposite case.

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?