3buj

3buj

Time Limit: 2.0 s

Memory Limit: 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 triangle 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
2
Category
Beginners Click to Show
Tags
(None)
# Submissions
88
Accepted
52
Accepted Ratio
59%
Uploaded By

Related

In following contests:

TLE_Headquarters - round #1