import java.util.Scanner; import java.util.Stack; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(sc.hasNext()){ int n=sc.nextInt(); int k=sc.nextInt(); String s=sc.next(); int[] ans=new int[n]; Stack st=new Stack(); for(int i=0;i