Cool line
Cossack Vus considers a string to be cool if it satisfies the following conditions:
All characters at even indices are identical.
All characters at odd indices are identical.
For instance, the strings 'wow'
and 'ftftf'
are cool, whereas 'cabab'
and 'abcd'
are not.
Cossack Vus has a string of length , composed of lowercase Latin letters. He can change up to characters in the string to create a cool substring of the maximum possible length. Your task is to determine this maximum length.
Input
The first line contains two integers and (, ) — the length of the string and the maximum number of characters Cossack Vus is allowed to change.
The second line contains the string , which consists of lowercase Latin letters.
Output
Output a single integer — the maximum length of a cool substring that Cossack Vus can achieve.
Examples
Scoring
( points): ;
( points): ;
( points): ;
( points): ;
( points): no additional constraints.