CodeLab Academy 📞 9936 6696
← List Python · Level 3: Conditions (if) Code · 30 points ← #206 #208 →

#207. Leap year

You get a year. Print `Yes` if it is a leap year, otherwise `No`. Rule: a year is a leap year if it can be divided by 4 but not by 100, or if it can be divided by 400. ### Input One integer (1 ≤ year ≤ 3000). ### Output `Yes` or `No`.

Examples

Input
2000
Output
Yes
Input
2024
Output
Yes

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!