import Data.Bool main = getLine >>= putStrLn . bool "NO" "YES" . any even . init . map read . words