21 lines
310 B
Plaintext
21 lines
310 B
Plaintext
|
|
||
|
#include <iostream>
|
||
|
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";
|
||
|
|
||
|
}
|