Bob decided to go on a trip. There are total N kids on the trip. There are 3 types of toys - 'Type-1', 'Type-2', and 'Type-3' available for the distribution among N kids. Each of the kids is asked, what kind of toy he prefers from the current lot. If the kid does not like any toy from the current lot, then he or she would get a toy among the remaining types with equal probability.
Bob wants a 'Type-1' toy. He knows that there are A 'Type-1' toys, B 'Type-2' toys, and C 'Type-3' toys. He noticed that he is at Kth position in the queue. He also knows that a random kid prefers 'Type-1' toys with probability P1% and 'Type-2' toys with probability P2%. Obviously, if a kid does not prefer 'Type-1' and 'Type-2' toys, he or she prefers 'Type-3' toys.
Now he wants to know, what is his chance to get a 'Type-1' toy.
Input format
Output format
For each test case, print the Lucky’s probability to get a 'Type-1' toy in a new line. Print your answer modulo 1e9+7.
Constraints
1≤T≤100≤A,B,C≤2001≤N≤A+B+C1≤K≤N0≤P1,P2≤100 (P1+P2≤100)
For the first testcase, the number of Type-1 toys are 0, thus Lucky can't get a Type-1 toy.
For the second testcase, the number of Type-1 toys are 4. The Lucky is on 4-th position in the queue, thus there is 100% chance that Lucky get a Type-1 toy.
For the third testcase,
Thus there is 40/100+15/100=55/100 chance for Lucky to get a Type-1 toy.