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