a,b,c=map(int,input()) if a+c==b: print('Yes') else: print('No')