#T728. 判断闰年

判断闰年

Description

Enter a year, and if it is a leap year, output "Yes"; otherwise, output "No".

Input Format

One line: A positive integer representing the year.

Output Format

One line: If it is a leap year, output "Yes"; otherwise, output "No", without the quotation marks.

2000
Yes

Hint

A year is considered a leap year if it meets one of the following conditions:

  1. Divisible by 4 but not divisible by 100
  2. Divisible by 400

Source

CodesOnline