n = int(input()) m = int(input()) if m % 2 == 1: print("No") elif n % 2 == 0: print("Yes") else: print("Yes" if m >= 10 else "No")