import java.io.PrintWriter; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scanner=new Scanner(System.in); PrintWriter out=new PrintWriter(System.out); int n=Integer.parseInt(scanner.next()); long k=Long.parseLong(scanner.next()); String s=scanner.next(); long[][] nx=new long[32][51]; final long INF=(long)1e12; for(int i=0; i=0; i--) { if(nx[i][x]