main :: IO () main = solve <$> (read <$> getLine) <*> (read <$> getLine) >>= putStrLn solve :: Int -> Int -> String solve n m | n `mod` 2 == 0 = if m `mod` 2 == 0 then "Yes" else "No" | m >= 10 = if (m - 10) `mod` 2 == 0 then "Yes" else "No" | otherwise = "No"