The input has multiple test cases.
The first line contains a single integer
- the number of test case.
Next
lines, each line contains 7 integers
separated by space. It is guaranteed that
,and
are not on the line
.
The output should containslines. Each line should be a string "Yes" if
on the same side of the line
, or a string "No" if
on the different side of the line
.