#include #include #define rep(i,n) for (int i = 0; i < (n); ++i) #define ll long long #define mod 1000000007 using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if((a*b*c)%3==0){ cout<<"Yes"<