Watermelon

Practice this coding question on Coding Gurukul.

Problem statement

A parcel of integer weight w must be split between two teams. Each team must receive a positive even integer weight. Decide whether such a split exists. The two portions are allowed to have different weights.

Input format

One integer w.

Output format

Print YES if a valid split exists, otherwise NO.

Constraints

1 <= w <= 100.

Sample input

8

Sample output

YES

Sign in to run or submit a solution in C++, Java or Python.