X,Y,Z=map(int,input().split()) print(["Yes","No"][X*Y*Z%3>0])