#include using namespace std; int main(){ long long X,Y,Z; cin>>X>>Y>>Z; X=X*Y*Z; if(X%3==0)cout<<"Yes"; else cout<<"No"; }