#CCBCMCHIN0000009. Dưa hấu (Watermelon)

Dưa hấu (Watermelon)

Watermelon

Source: Codeforces

Version: Phuoc Hung OJ Extended

Problem Statement

A watermelon weighs ww kilograms. It must be split into exactly two parts of positive integer weights such that both parts have even weights. The parts do not need to be equal. Determine whether such a split is possible.

Input

A single line contains an integer ww with 1≤w≤1001\le w\le100.

Output

Print YES if the required split is possible; otherwise print NO.

Subtasks

  • Subtask 1 (20 points): 1≤w≤201\le w\le 20.
  • Subtask 2 (30 points): 1≤w≤601\le w\le 60.
  • Subtask 3 (50 points): 1≤w≤1001\le w\le 100.

Examples

Example 1

Input

8

Output

YES

Explanation

For w = 8, a valid split exists exactly when w is even and greater than 2. Evaluating these two conditions gives YES.

Example 2

Input

2

Output

NO

Explanation

For w = 2, a valid split exists exactly when w is even and greater than 2. Evaluating these two conditions gives NO.