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