Problem: Our hero - Maga is going to make a new contest for making the best teams. He is really excited about it. There will be S students in the contest. First N students in the final standings will be awarded. 

He has a list( favourite students list ) what contains the best students in informatics Olympiad. His favorite students list contains M students. Though he is excited about the contest, he will enjoy it only if at least K of students from his favourite students list are awarded. He is wondering what are the chances of that happening. He needs your help. Tell him the probability that he will enjoy. It is known that each student has equal chance of being awarded.

Input:
First line of input contains a single integer T, the number of test cases.
In the next T lines, you are given 4 separated integers, S, N, M and K.

Output:
For each test case, output the required probability with 6 digits after floating point.

Constraints:
1 ≤ T ≤ 100
1 ≤ S ≤ 1000
1 ≤ N ≤ S
1 ≤ M ≤ S
0 ≤ K ≤ M

SAMPLE INPUT
3
10 10 5 3
10 4 6 4
3 2 2 1

SAMPLE OUTPUT
1.000000
0.071429
1.000000

Solution (in PYTHON):

Solution:
fact = {}
def factorial(n):
    if n < len(fact):
        return fact[n]
    elif n in (0,1):
        fact.setdefault(0,1)
        fact.setdefault(1,1)
        return 1
    else:
        ans = n * factorial(n-1)
        fact.setdefault(n, ans)
        return fact[n]

def combinatorial(N, r):
    if N == r or r == 0:
        return 1
    else:
    	r_new = min(r, N-r)
    	num, i = 1,1
    	while i <= r_new:
    		num = num * (N-i+1)
    		i += 1
        return num  / factorial(r_new)


def main():
    #for i in range(1000):
     #   factorial(i)
        
    tc = int(raw_input())
    while tc > 0:
        tc -= 1
        S, N, M, K = raw_input().split()
        S, N, M, K = int(S), int(N), int(M), int(K)
        prob = 0

        den = combinatorial (S, N)
        for fav in range(K,min(N,M)+1):
            if S-M >= N-fav:
                num1 = combinatorial(M, fav)
                num2 = combinatorial(S-M, N-fav)
                prob += (num1 * num2 * 1.0) / den

        print '%0.6f' %prob

if __name__ == '__main__':
    main()