N = int(input()) M = int(input()) if M%2 == 0 and(M >= 10 or N%2 ==0): ans ="Yes" else: ans = "no" print(ans)