interstellar

“Play to WIN !”

For the annual sports trophy in FrCRCE, the class with the highest mean points over N sport events is awarded the trophy. You are too excited to know whether your class has won it or not, so you ask Steve the sports secretary of the college to give you the score sheet for the year. But since Steve is a very sincere person he doesn’t disclose all the scores, however he does tell you the highest mean score among the other classes called the threshold score (P).

You are given the number of sports event for this year (N), the points your class has obtained in each event (ai)  and the threshold score (P). You need to determine whether your class has won the sports trophy or not.

In case of a Tie Steve favours you since you are his best friend.

Input format:

The first line will contain an integer T: denoting the number of testcases. 
For each testcase, there will be 2 lines.
The first line will contain 2 integers N and P.
In the next line, there will be N integers a1, a2,...,an. 
Integer ai denotes the points obtained in the i^th event.

Output format:

For each test case, print Yes if the trophy is yours otherwise print No.

Constraints:
1 ≤ T ≤ 10
1 ≤ N, P, ai ≤ 1000

SAMPLE INPUT
2
4 3
2 4 6 4
5 8
1 6 1 10 7

SAMPLE OUTPUT
Yes
No

Explanation

1st case:
The average score is 4 which is greater than the threshold score 3. Hence, the trophy is yours.  

2nd case:
The average score is 5 which is less than the threshold score 8. Hence, the trophy is not yours.

Source: hackerearth | Difficulty: EASY


Solutions: