import Control.Applicative import Text.Printf f :: [Int] -> String f (x:y:_) | x == 1 = "NO" | y == 1 = "NO" | (odd x) && (odd y) = "NO" | otherwise = "YES" main = do xs <- take 2 <$> fmap (read :: String -> Int) . words <$> getLine putStrLn $ f xs