#C4494. Even Apple Distribution

    ID: 48038 Type: Default 1000ms 256MiB

Even Apple Distribution

Even Apple Distribution

Given an integer \( n \) representing the total number of apples, determine whether it is possible to distribute these apples among some people so that each person receives an even number of apples and at least 2 apples (ensuring every person gets an even, non-zero number). In other words, you need to decide if \( n \) can be partitioned in such a way that every part is an even number, and the minimum even number is 2.

Note: The smallest possible valid distribution would be when two people get 2 apples each, i.e. \( n=4 \). Thus, \( n \) must be at least 4 and even to allow such a distribution.

inputFormat

The input consists of a single integer \( n \) provided via standard input (stdin), representing the total number of apples.

outputFormat

Output a single line to standard output (stdout) containing "YES" if it is possible to distribute the apples according to the rules, otherwise output "NO".

## sample
4
YES