main(a,b,c){scanf("%d",&a,&b,&c);printf((a+b+c)%3?"No":"Yes");}