n=int(input()) m=int(input()) if m%2==1: print("No") else: a=(n*10+m)//2 b=(a%10)*2 if b>m: print("No") else: print("Yes")