For each test case, compute the coefficient of x^N in the product of (1+x+...+x^i) for i from 1 to k.
Heehyun and Jugyeong like the polynomial game.
In the polynomial game you are given an integer kkk and the polynomial
p(x)=(1+x)(1+x+x2)(1+x+x2+x3)⋯(1+x+⋯+xk−1+xk)p(x) = (1+x)(1+x+x^2)(1+x+x^2+x^3)\cdots(1+x+\cdots+x^{k-1}+x^k)p(x)=(1+x)(1+x+x2)(1+x+x2+x3)⋯(1+x+⋯+xk−1+xk)
The first player to say the coefficient of xNx^NxN in p(x)p(x)p(x) wins.
Help Heehyun beat Jugyeong.
The first line contains the number of test cases TTT (1≤T≤20001 \le T \le 20001≤T≤2000).
Each of the next TTT lines contains two integers kkk and NNN separated by a space (1≤k≤201 \le k \le 201≤k≤20, 0≤N≤k(k+1)/20 \le N \le k(k+1)/20≤N≤k(k+1)/2).
For each test case, print the coefficient of xNx^NxN in p(x)p(x)p(x) on its own line.