N = int(input()) M = int(input()) if (M % 2 != 0 or N % 2 != 0 and M < 10): print("No") else: print("Yes")