/*==========================================================================*/ /* auther: Dev1ce created: 08.04.2024 21:18:22 */ /*--------------------------------------------------------------------------*/ #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; if (n % 400 == 0) { cout << "Yes" << '\n'; } else if (n % 100 == 0) { cout << "No" << '\n'; } else if (n % 4 == 0) { cout << "Yes" << '\n'; } else { cout << "No" << '\n'; } return 0; }