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.

SAMPLE INPUT
8

SAMPLE OUTPUT
YES

Solution (in PYTHON):

Solution:
n=int(raw_input())
if(n==2 or n==0):
	print "NO"
elif(n%2==0):
	print "YES"
else:
	print "NO"