magic-fruit

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

Source: hackerearth | Difficulty: EASY


Solutions:
a=int(input())
if a%2==0 and a>2:
	print("YES")
else:
	print("NO")


n = int(input())
if n % 2 == 0 and n > 2:
	print("YES")
else:
	print("NO")


a=int(input())
if a%2==0 and a>2:
	print("YES")
else:
	print("NO")


weight = int(input())

if(weight % 2 == 0 and weight != 2):
	print("YES")
else:
	print("NO")


w=int(input())
lis=[]
if(w==1 or w==0):
	print("NO")
elif(w==2):
	print("NO")
else:
	for i in range(2,w):
		op=i+(w-i)
		c1=i%2
		c2=(w-i)%2
		if(c1==0 and c2==0):
			lis.append(i)
			lis.append((w-i))
	if(len(lis)==0):
		print("NO")
	else:
		print("YES")