*s, = map(int, input()) print("Yes" if s[0] + s[2] == s[1] else "No")