1064: 判断闰年

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:306 Solved:170

Description

已知一个年份如果满足以下条件之一则为闰年:

- 能被 $400$ 整除
- 能被 $4$ 整除但是不能被 $100$ 整除

给定一个年份 $year$,如果为闰年输出 YES,否则输出 NO

Input

一行,一个整数 $year$($0 < year < 4000$) 。

Output

如果 $year$ 为闰年输出 YES,否则输出 NO

Sample Input Copy

2000

Sample Output Copy

YES

Source/Category