OJ-Problems-Source/HDOJ/1021_autoAC.cpp

13 lines
216 B
C++

#include <iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
if(n%8 == 2||n%8 == 6)
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
return 0;
}