Problem: There are n children, who study at the school №41. It is well-known that they are good mathematicians. Once at a break, they arranged a challenge for themselves. All children arranged in a row and turned heads either to the left or to the right.

Children can do the following: in one second several pairs of neighboring children who are looking at each other can simultaneously turn the head in the opposite direction. For instance, the one who was looking at the right neighbor turns left and vice versa for the second child. Moreover, every second at least one pair of neighboring children performs such action. They are going to finish when there is no pair of neighboring children who are looking at each other. 

You are given the number n, the initial arrangement of children and the number k. You have to find a way for the children to act if they want to finish the process in exactly k seconds. More formally, for each of the k moves, you need to output the numbers of the children who turn left during this move.

For instance, for the configuration shown below and k = 2 children can do the following steps: 

<image> At the beginning, two pairs make move: (1, 2) and (3, 4). After that, we receive the following configuration:  <image> At the second move pair (2, 3) makes the move. The final configuration is reached. Good job.  <image>

It is guaranteed that if the solution exists, it takes not more than n^2 "headturns".

Input

The first line of input contains two integers n and k (2 ≤ n ≤ 3000, 1 ≤ k ≤ 3000000) — the number of children and required number of moves.

The next line contains a string of length n and consists only of characters L and R, where L means that the child looks to the left and R means that the child looks to the right. 

Output

If there is no solution, print a single line with number -1.

Otherwise, output k lines. Each line has to start with a number n_i (1≤ n_i ≤ n/2) — the number of pairs of children, who turn at this move. After that print n_i distinct integers — the numbers of the children who will turn left during this move. 

After performing all "headturns", there can't be a pair of two neighboring children looking at each other.

If there are many solutions, print any of them.

Examples

Input


2 1
RL


Output


1 1 


Input


2 1
LR


Output


-1

Input


4 2
RLRL


Output


2 1 3 
1 2

Note

The first sample contains a pair of children who look at each other. After one move, they can finish the process.

In the second sample, children can't make any move. As a result, they can't end in k>0 moves.

The third configuration is described in the statement.

Solution (in JAVA):

Solution:
/**
 * @author derrick20
 */
import java.io.*;
import java.util.*;

public class SchoolChallengesBACK {
    public static void main(String args[]) throws Exception {
        FastScanner sc = new FastScanner();
        PrintWriter out = new PrintWriter(System.out);

        int N = sc.nextInt();
        int K = sc.nextInt();
        int[] a = new int[N];
        char[] s = sc.next().toCharArray();
        for (int i = 0; i < N; i++) {
            if (s[i] == 'R') {
                a[i] = 1;
            }
            else {
                a[i] = 0;
            }
        }

        // find the min
        ArrayList<ArrayDeque<Integer>> steps = new ArrayList<>();
        // track step as the i, i+1 being swapped, (a[i] = 1, a[i + 1] = 0)
        int ct = 0;
        while (true) {
            ArrayDeque<Integer> curr = new ArrayDeque<>();
            for (int i = 0; i < N - 1; i++) {
                if (a[i] == 1 && a[i + 1] == 0) {
                    curr.add(i);
                    ct++;
                }
            }
            if (curr.size() == 0) {
                break;
            }
            else {
                steps.add(curr);
                for (int pos : curr) {
                    a[pos] = 0;
                    a[pos + 1] = 1;
                }
            }
        }
        // we have groups, each with some count
        // together, the count must be at least be K.
        // However, the steps are too many, then it'll fail
        if (ct < K || steps.size() > K) {
            out.println(-1);
        }
        else {
            int needed = K - steps.size();
            for (int i = 0; i < steps.size(); i++) {
                ArrayDeque<Integer> step = steps.get(i);
                if (step.size() >= 2) {
                    while (needed > 0 && step.size() > 1) {
                        int single = step.removeLast();
                        out.println(1 + " " + (single + 1));
                        needed--;
                    }
                }
                int sz = step.size();
                out.print(sz + " ");
                for (int v : step) {
                    out.print((v + 1) + " ");
                }
                out.println();
//                ans.add(step); // it may have shrunk, but we always add something (the steps.size() is accounted)
                // just need to fix the needed part
            }
//            if (made + ans.size() < K) {
//                out.println(-1);
//            }
//            else {
//                if (ans.size() != K) {
//                    System.exit(0);
//                }
//                for (int i = 0; i < ans.size(); i++) {
//                    out.print(ans.get(i).size() + " ");
//                    for (int v : ans.get(i)) {
//                        out.print((v + 1) + " ");
//                    }
//                    out.println();
//                }
//            }
        }
        out.close();
    }

    static class FastScanner {
        private int BS = 1<<16;
        private char NC = (char)0;
        private byte[] buf = new byte[BS];
        private int bId = 0, size = 0;
        private char c = NC;
        private double cnt = 1;
        private BufferedInputStream in;

        public FastScanner() {
            in = new BufferedInputStream(System.in, BS);
        }

        public FastScanner(String s) {
            try {
                in = new BufferedInputStream(new FileInputStream(new File(s)), BS);
            }
            catch (Exception e) {
                in = new BufferedInputStream(System.in, BS);
            }
        }

        private char getChar(){
            while(bId==size) {
                try {
                    size = in.read(buf);
                }catch(Exception e) {
                    return NC;
                }
                if(size==-1)return NC;
                bId=0;
            }
            return (char)buf[bId++];
        }

        public int nextInt() {
            return (int)nextLong();
        }

        public int[] nextInts(int N) {
            int[] res = new int[N];
            for (int i = 0; i < N; i++) {
                res[i] = (int) nextLong();
            }
            return res;
        }

        public long[] nextLongs(int N) {
            long[] res = new long[N];
            for (int i = 0; i < N; i++) {
                res[i] = nextLong();
            }
            return res;
        }

        public long nextLong() {
            cnt=1;
            boolean neg = false;
            if(c==NC)c=getChar();
            for(;(c<'0' || c>'9'); c = getChar()) {
                if(c=='-')neg=true;
            }
            long res = 0;
            for(; c>='0' && c <='9'; c=getChar()) {
                res = (res<<3)+(res<<1)+c-'0';
                cnt*=10;
            }
            return neg?-res:res;
        }

        public double nextDouble() {
            double cur = nextLong();
            return c!='.' ? cur:cur+nextLong()/cnt;
        }

        public String next() {
            StringBuilder res = new StringBuilder();
            while(c<=32)c=getChar();
            while(c>32) {
                res.append(c);
                c=getChar();
            }
            return res.toString();
        }

        public String nextLine() {
            StringBuilder res = new StringBuilder();
            while(c<=32)c=getChar();
            while(c!='\n') {
                res.append(c);
                c=getChar();
            }
            return res.toString();
        }

        public boolean hasNext() {
            if(c>32)return true;
            while(true) {
                c=getChar();
                if(c==NC)return false;
                else if(c>32)return true;
            }
        }
    }
}