#CCBCMCHIN0000035. Năm nhuận (Leap Year)

Năm nhuận (Leap Year)

Leap Year

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

In the Gregorian calendar, a year is leap if it is divisible by 400400, or if it is divisible by 44 but not by 100100. Check the given year yy.

Input

One integer yy represents the calendar year.

Output

Print YES if yy is a leap year in the Gregorian calendar; otherwise print NO.

Subtasks

Subtask 1 (20 points): Year y is in [1,400]. Subtask 2 (30 points): Year y is in [1,2400]. Subtask 3 (50 points): Year y is in [1,9999].

Examples

Example 1

Input

1900

Output

NO

Explanation

1900 is divisible by 100 but not by 400, so it is not a leap year.

Example 2

Input

2000

Output

YES

Explanation

2000 is divisible by 400, so it is a leap year.