#include<iostream>
using namespace std;
int main()
{
int a,b;
while(cin>>a>>b)
{
if((a+b)%86==0) cout<<"yes";
else cout<<"no";
cout<<endl;
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int a,b;
while(cin>>a>>b)
{
if((a+b)%86==0) cout<<"yes";
else cout<<"no";
cout<<endl;
}
return 0;
}