#include int main() { int a; std::cin >> a; if(a % 400 == 0 ){ std::cout << "YES"; return 0 ; } else if(a % 100 == 0 ) { std::cout << "NO"; return 0 ; } else if(a % 4 == 0) { std::cout << "YES"; return 0 ; } std::cout << "NO"; }