牛骨文教育服务平台(让学习变的简单)
#include<iostream>
using namespace std;

int main()
{
    int n;
    while(cin>>n&&n < 1000000)
   if(n%8==2||n%8==6)
   cout<<"yes"<<endl;
   else
   cout<<"no"<<endl;
    return 0;
}