#include int main() { int year; std::cin >> year; bool leap_year = false; if (year % 400 == 0) leap_year = true; else if (year % 100 != 0 && year % 4 == 0) leap_year = true; std::cout << (leap_year ? "Yes\n" : "No\n"); }