Kyon realizes he's experiencing identical days over and over again. The only difference between them is the appearance of Suzumiya Haruhi.
When Haruhi appears, Kyon will mark the day with . And if she doesn't, Kyon will mark the day with
.
One day, Kyon suddenly has the ability to make Haruhi appear. In other words, he can change to
as many times as he likes. And he defines the UNHAPPY of
continuous day without Haruhi as
.
For example, the total UNHAPPY of equals to
.
Now Kyon wants to know the minimum times he must make Haruhi appear so that the total UNHAPPY of days is no more than
.
The first line contains two integer
.
The second line contains a string
. Each character of the string
is either
or
and the length of
is
.
Output one integer indicating the answer.