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