n = str(input()) n_0,n_1,n_2 = map(int,n) if n_0 + n_2 == n_1: print('Yes') else: print('No')