#include<iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
{
if(n%2==0) cout<<"YES"<<endl;
else cout<<"NO"<<endl;
}
return 0;
}
大鱼吃小鱼 tzc
最新推荐文章于 2024-06-30 21:51:16 发布
#include<iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
{
if(n%2==0) cout<<"YES"<<endl;
else cout<<"NO"<<endl;
}
return 0;
}