# https://yukicoder.me/problems/no/3481 from collections import deque def main(): N = input() if int(N[0]) + int(N[2]) == int(N[1]): print("Yes") else: print("No") if __name__ == "__main__": main()