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