You are given a string S of the length n consisting of only lowercase English alphabets.
If the two consecutive characters in a subsequence have a difference that is no more than k, then it is called a special subsequence. Find the length of the longest special subsequence.
Input format
Output format
For each test case, print the length of the longest special subsequence in a new line.
Constraints
1≤t≤10
1≤n≤105
1≤k≤26
One of the longest special sequence present in "afcbedf" is a, c, b, d.
It is special because |a - c| <= 2, |c - b| <= 2 and | b-d| <= 2.