a, b, c = map(int, list(input())) print("Yes" if a + c == b else "No")