import java.util.*; import java.io.*; public class Main{ static final Reader sc = new Reader(); static final PrintWriter out = new PrintWriter(System.out,false); public static void main(String[] args) throws Exception { int n = sc.nextInt(); long k = sc.nextLong(); String s = sc.next(); long ans = (long)0; long count = (long)0; int now = 0; long next = (long)0; for(int i=0;i