x, y, z = map(int, input().split()) print("Yes" if (x*y*z)%3 else "No")