def solve(): n = int(input()) m = int(input()) if m & 1: return "No" if n & 1 and m >= 10: return "Yes" return "Yes" if n % 2 == 0 else "No" print(solve())