X,Y,Z=map(int,input().split()) i=X*Y*Z if i%3==0: print("Yes") else: print("No")