As a new year present i want to gift my girl space friend a bouquet, but the problem is that out of 'N' different types of flower she only likes 'S' types of flower. And my astrologer has told me that i can remove the 'space' between the two words only if i give her a certain number of flowers. So i want to give her 'B' number of flowers (as per my astrologer) which contains atleast 'M' number of flowers which she likes.
T - No of test cases
D - Delimiter used to separate the values
N S M B - as per question and separated by delimiter [ , ; @ # $ & * ]. Remeber there is no space between delimiter and number.
Number of different types of bouquet possible based on given criteria.
1 <= M <= S , B <= N <= 1000
Problem Setter : Himanshu Shekhar
Problem Tester : Shikhar Sharad