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