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

13 lines
216 B
C++
Raw Normal View History

2016-08-12 10:14:21 +08:00
#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;
}