import Control.Monad
import Data.Maybe
import qualified Data.ByteString.Char8 as BS

readInt = fst . fromJust . BS.readInteger
readIntList = map readInt . BS.words
getIntList = readIntList <$> BS.getLine

solve :: [Integer] -> String
solve argList = if any (\x -> 0 == (mod x 2)) argList
                then "No"
                else "Yes" 

main = do
    argList <- getIntList
    putStrLn $ solve argList