Determine whether the given year is a leap year. (A leap year is divisible by 4 but not by 100, unless it is also divisible by 400.)
A single number is entered – the year (a positive integer not exceeding 30,000).
Output "YES" if the year is a leap year, otherwise output "NO".
Input #1
2007
Output #1
NO
Input #2
2000
Output #2
YES
Sign in to submit your solution and save your progress.