#include #include #include using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); int N; string A; cin >> N; N = N % 4; if (N == 0) A = "Yes"; else A = "No"; N = N % 100; if (N == 0) { A = "No"; }else if (A == "No"){ N = N % 400; A = "Yes"; } cout << A << "\n"; }