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