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