coin100 = int(input()) coin10 = int(input()) answer=coin100%2==0 and coin10%2==0 if not answer: sum_all=coin100*100+coin10*10 if sum_all%2==0 and sum_all%10==0: norm=sum_all//2 c10=(norm%100)*2//10 if c10<=coin10: coin10-=c10 _sum=(coin100*100+coin10*10) answer=_sum%2==0 print("Yes" if answer else "No")