module Main where
 
import Control.Applicative
import Control.Monad
import Data.List
import Data.Array

isRectangle [a,b,c]
  | a + b < c = "NO"
  | b + c < a = "NO"
  | a + c < b = "NO"
  | otherwise = "YES"

main :: IO ()
main = do
    _ <- getLine
    ns <- fmap (fmap (read :: String -> Integer) . words) . lines <$> getContents
    forM_ [0..length ns-1] $ \i -> do
      putStrLn $ show $ isRectangle (ns!!i)