Codeforces 4A - A. Watermelon

4A - A. Watermelon

calc :: Int -> String
calc n
  | n > 2 && even n = "YES"
  | otherwise       = "NO"

main = do s <- getLine
          putStrLn $ calc $ read s