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