main = getLine >>= return . map read . words >>= \(n:m:_) -> putStrLn $ ["YES", "NO"]!!(n * m `mod` 2)