# Distinct Sides Triangle

Easy
6
30.9% Acceptance

Given $X, Y,$ and $Z$ as the lengths of a triangle's sides, determine if the triangle is scalene.

Note:

• A scalene triangle has all three sides of different lengths.
• The given sides will always form a valid triangle.

## Input Specifications

• The first line contains a single integer $N$, indicating the number of test instances.
• Following this, each test case is given as three space-separated integers $X, Y,$ and $Z$ — representing the lengths of the triangle's sides.

## Output Specifications

For each instance, print YES on a new line if the triangle is scalene, and NO if it is not.

The output is case-insensitive, meaning YES, yes, Yes, and yEs are all valid outputs for a positive case.

## Constraints

• $1 \leq N \leq 100$
• $1 \leq X \le Y \le Z \leq 10$
• $Z < (X+Y)$

## Sample Test Cases

### Example #1:

Input:

4
2 3 4
1 2 2
2 2 2
3 5 6


Output:

YES
NO
NO
YES

#### Explanation

Example $1$: With side lengths $2, 3,$ and $4$, all sides are different, indicating a scalene triangle.

Example $2$: Side lengths are $1, 2,$ and $2$. Sides $Y$ and $Z$ are identical, so it's not a scalene triangle.

Example $3$: Each side measures $2$, making all sides equal and the triangle not scalene.

Example $4$: The side lengths are $3, 5,$ and $6$, with all sides distinct, confirming it's a scalene triangle.