#K11666. Leap Year Determination
Leap Year Determination
Leap Year Determination
In this problem, you are required to determine whether a given year is a leap year.
A year is a leap year if it satisfies the following condition:
\( \text{year} \) is a leap year if and only if it is divisible by 4 and not divisible by 100, or it is divisible by 400. Formally, a year \( y \) is leap if:
\( (y \mod 4 = 0 \; \text{and} \; y \mod 100 \neq 0) \; \text{or} \; (y \mod 400 = 0) \)
The input year will be in the range \(1 \leq y \leq 10^4\). Your task is to output "Yes" if the year is a leap year and "No" otherwise.
inputFormat
The input consists of a single integer representing the year. The integer is provided from standard input (stdin).
outputFormat
Output a single line to standard output (stdout) containing either 'Yes' if the given year is a leap year, or 'No' otherwise.## sample
2000
Yes