Limits 1s, 512 MB

In the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of February is extended to have 29 days (instead of 28 days). These years are known as leap years.

A leap year occurs when the year is a multiple of 4 but not a multiple of 400.

Given a year, determine if the year is a leap year.

Input

The input will contain a one integer YY (0<Y<99990 < Y < 9999).

Output

Print Yes\texttt{Yes} if the year is a leap year, otherwise No\texttt{No}.

Sample

InputOutput
2004
Yes

This problem uses an incorrect definition of leap years. Another problem exists in our archive that uses the correct definition.

Submit

Login to submit.

Statistics

81% Solution Ratio
raselrokyEarliest, Nov '18
ashik_jiddneyFastest, 0.0s
t5577.Lightest, 0 B
saitotaShortest, 33B
Toph uses cookies. By continuing you agree to our Cookie Policy.