#include<iostream>
using std::cin;
using std::cout;
using std::endl;
int main()
{
int q,w,e,a,s,d;
while(cin>>q>>w>>e)
{
a=q%3;
s=w%3;
d=e%3;
if(a==0 && q!=0 )
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
if(s==0 && w!=0)
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
if(d==0 && e!=0 )
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
}
return 0;
}
一直WA 說什ㄇ我的答案是NO 正確答案是YES 明明執行都對!!