N=int(raw_input()) M=int(raw_input()) if M%2: N-=10 if N%2 or N<0: print("No") else: print("Yes")