CSES - Raab Game II
  • Time limit: 1.00 s
  • Memory limit: 512 MB

Consider a two player game where each player has nn cards numbered 1,2,,n1,2,\dots,n. On each turn both players place one of their cards on the table. The player who placed the higher card gets one point. If the cards are equal, neither player gets a point. The game continues until all cards have been played.

You are given the number of cards nn and the players' scores at the end of the game, aa and bb. Your task is to count the number of possible games with that outcome.

Input

The first line contains one integer tt: the number of tests.

Then there are tt lines, each with three integers nn, aa and bb.

Output

For each test case print the number of possible games modulo 109+710^9+7.

Constraints

  • 1t10001 \le t \le 1000
  • 1n50001 \le n \le 5000
  • 0a,bn0 \le a,b \le n

Example

Input:

5
3 1 2
2 0 1
5 2 2
9 3 5
4 4 1

Output:

6
0
4200
976757050
0