Subarray Set of an array is defined as the set of sum of all elements of subarrays of the array.For example, Subarray Set of [1,2,5] is (1,2,3,5,7,8).
A is an array of positive integers having length N. The elements of the array are not known. However, it is known that the sum of all elements is S.
Find the numbers which always occur in the Subarray Set of A for any A satisfying the above constraints.
First line contains the number of test case T.
T lines follow ,each containing 2 integers N and S.
For each test case print the total no. of numbers which occur in A.In the next line print the numbers separated by spaces in increasing order.
1 3 5
1 2 3 4 5 6