You are given an array a of length n, and must perform the following operation until the length of a becomes 1.
Choose a positive integer k |a| such that |a|k is an integer. Split a into k subsequences^∗ s_1, s_2, …, s_k such that:
After this, replace a = [ avg(s_1), avg(s_2), …, avg(s_k) ] , where avg(s) = Σ_i = 1^|s| s_i|s| is the average of all the values in the subsequence. For example, avg([1, 2, 1, 1]) = 5/4 = 1.25.
Your task is to determine whether there exists a sequence of operations such that after all operations, a = [x].
Input
Each test contains multiple test cases. The first line contains the number of test cases t (1 ≤ t ≤ 500). The description of the test cases follows.The first line of each test case contains two integers n, x (1 ≤ n, x ≤ 100) — the length of the array a and the final desired value.The second line contains n integers a_1, a_2, …, a_n (1 ≤ a_i ≤ 100) — the array a.
Output
For each test case, output "YES'" (without quotes) if there exists such a sequence of operations, and "NO" (without quotes) otherwise.You can output "YES" and "NO" in any case (for example, strings "yES", "yes" and "Yes" will be recognized as a positive response).
Examples
Note
In the first test case, x = 3 and a = [3] already holds.In the second test case, x = 9, and there exists no sequence of operations such that after all operations, a = [9].In the third test case, x = 9, and here is one possible sequence of operations. k = 2, s_1 = [1, 12, 8] and s_2 = [9, 14, 10]. Hence, a = [avg(s_1), avg(s_2)] = [7, 11]. k = 1 and s_1 = [7, 11]. Hence, a = [avg(s_1)] = [9]. In the fourth test case, x = 10, and here is one possible sequence of operations. k = 1 and s_1 = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10]. Hence, a = [avg(s_1)] = [10].