def solve(X,Y,Z): if (X+Y+Z)%3: return False return True X,Y,Z=map(int,input().split()) print("Yes" if solve(X,Y,Z) else "No")