You are given an integer set A=a_1,a_2,…,a_n. Please calculate the number of solutions for equation x_1+x_2+…+x_k=m, where x_i are positive integers, x_1≤x_2≤…≤x_k and x_i∈A.
As the answer may be very large, you are only asked to calculate it modulo (109+7).
There are multiple test cases. The first line of the input contains an integer T indicating the number of test cases. For each test case:
The first line contains two integers n and m (1≤n≤500, n≤m≤3⋅105).
The second line contains n integers a_1,a_2,…,a_n (1≤a_i≤m, a_i=a_j for all i=j).
It is guaranteed that the sum of n over all test cases does not exceed 500.
For each test cases, output an integer denoting the answer.
There are 5 solutions for m=4 if the constraints set A is empty. They are: 4 =====1+1+1+11+1+21+32+24