# Valid Minimum CodeChef Solution

### We Are Discuss About CODECHEF SOLUTION

Valid Minimum CodeChef Solution

## Valid Minimum CodeChef Solution

There are 3 hidden numbers A, B, C.

You somehow found out the values of \min(A, B), \min(B, C), and \min(C, A).

Determine whether there exists any tuple (A, B, C) that satisfies the given values of \min(A, B), \min(B, C), \min(C, A).

### Input Format

• The first line of input will contain a single integer T, denoting the number of test cases.
• The first and only line of each test case contains 3 space-separated integers denoting the values of \min(A, B), \min(B, C), and \min(C, A).

### Output Format

For each test case, output YES if there exists any valid tuple (A, B, C), and NO otherwise.

You can print each letter of the output in any case. For example YESyesyEs will all be considered equivalent.

### Constraints

• 1 \leq T \leq 1000
• 1 \leq min(A, B), min(B, C), min(C, A) \leq 10

### Sample 1:

Input

Output

3
5 5 5
2 3 4
2 2 4

YES
NO
YES


### Explanation:

Test case 1: One valid tuple (A, B, C) is (5, 5, 5).

Test case 2: It can be shown that there is no valid tuple (A, B, C).

Test case 3: One valid tuple (A, B, C) is (4, 2, 5).

## SOLUTION

Yhaa You have done it but next? if YOU Want to Get Others Please Visit Here ScishowEngineer   Then Follow US HERE and Join Telegram.

If You Want To Learn Something New Then Visit Our Official Channel YOUTUBE