#9445: WA!!!誰指導一下


asdzxcqwe123368 (載入中...)


#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    int x,y,z;
    while(cin>>x>>y>>z)
    {           
    if(x%3==0)            
     cout<<"yes"<<endl;            
     else
     cout<<"no"<<endl; 
     if(y%3==0)            
     cout<<"yes"<<endl;            
     else
     cout<<"no"<<endl; 
     
     if(z%3==0)            
     cout<<"yes"<<endl;            
     else
     cout<<"no"<<endl; 
     
     
     }
     return EXIT_SUCCESS;
     }