C.cpp 187 B

1234567891011
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main() {
  4. int a;
  5. cin >> a;
  6. if (a % 4 == 0 && a % 100 != 0 || a % 400 == 0)
  7. cout << "yes";
  8. else
  9. cout << "no";
  10. return 0;
  11. }