You are given a string S of length N containing lowercase English letters and an integer K. You can rearrange the characters of the string in any order. After that you split the string into several parts. Find the minimum number of parts in which you can split S such that each part satisfy the condition below:
Input Format
Output Format
For each test case, print the minimum number of parts in which you can split S such that each part satisfy the condition.
Constraints
1≤T≤101≤K≤N≤105S contains lowercase English letters
Test case 1: We can rearrange S as "dbdbd" and split into "dbd", "bd". Hence, the answer is 2.
Test case 2: We can rearrange S as "aaahus" and we do not have any need to split S. Hence, the answer is 1.