n = int(input()) m = int(input()) print("No" if m % 2 == 1 and n < 10 else "Yes")