Consider a regular polygon with N vertices, where N is odd. The vertices are numbered from 1 to N in circular order. We can select M of these vertices to form a convex polygon on them. Master Zhu wants you to find how many of such possible convex polygons have exactly K acute angles. As their number can be very large, find the answer modulo 109+7. Two polygons are considered different if the sets of numbers in their vertices differ.
The first line of input contains one integer T, the number of test cases (1≤T≤5⋅104).
Each test case is described by a single line containing three integers N, M, and K (3≤N≤106, 3≤M≤N, 0≤K≤M, and N is odd).
For each test case, print the answer modulo 109+7 on a separate line.