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