import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Stack; public class No0022 { public static void main(String[] args) { try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){ String str[] = br.readLine().split(" "); int n = Integer.parseInt(str[0]); int k = Integer.parseInt(str[1]); String s = br.readLine(); int[] ans = new int[n]; Stack st = new Stack(); for(int i=0; i