3buj

সময় লিমিট: 2.0 s

মেমরি লিমিট: 256.0 MB

Description

Recently, Shahdat watched the movie DDLJ. In this movie, He saw a triangular love angel. But he does not know what is triangle or how to measure it. His friend Roy is preparing a problem such that,

You are given 3 integers A, B, C representing the length of three straight lines. You have to tell if you can make a triangel with these lines.

if you can make a triangel print YES otherwise print NO .

Note : In a triangle, sum of any two sides are strictly greater than the other side.

Input

First line takes an integer \(T\) : number of testcases
each of the next \(T\) lines takes three integers \(A,B,C\)

\(1 <= T <= 100\)
\(1 <= A,B,C <= 1000\)

Output

Print YES if it is possible to make a triangle and NO otherwise in each of the T lines.

Sample

Input Output
2
2 3 2
1 2 4
YES
NO

Information

ID
1047
Difficulty
3
Category
Beginners দেখানোর জন্য ক্লিক করুন
Tags
(None)
# Submissions
86
Accepted
45
Accepted Ratio
52%
Uploaded By

Related

In following contests:

TLE_Headquarters - round #1