#include int main(void){ int X,Y,Z; scanf("%d %d %d",&X,&Y,&Z); if((X*Y*Z)%3==0){ printf("Yes\n"); }else{ printf("No\n"); } return 0; }