Problem: At the first holiday in spring, the town Shortriver traditionally conducts a flower festival. Townsfolk wear traditional wreaths during these festivals. Each wreath contains exactly k flowers.

The work material for the wreaths for all n citizens of Shortriver is cut from the longest flowered liana that grew in the town that year. Liana is a sequence a_1, a_2, ..., a_m, where a_i is an integer that denotes the type of flower at the position i. This year the liana is very long (m ≥ n ⋅ k), and that means every citizen will get a wreath.

Very soon the liana will be inserted into a special cutting machine in order to make work material for wreaths. The machine works in a simple manner: it cuts k flowers from the beginning of the liana, then another k flowers and so on. Each such piece of k flowers is called a workpiece. The machine works until there are less than k flowers on the liana.

Diana has found a weaving schematic for the most beautiful wreath imaginable. In order to weave it, k flowers must contain flowers of types b_1, b_2, ..., b_s, while other can be of any type. If a type appears in this sequence several times, there should be at least that many flowers of that type as the number of occurrences of this flower in the sequence. The order of the flowers in a workpiece does not matter.

Diana has a chance to remove some flowers from the liana before it is inserted into the cutting machine. She can remove flowers from any part of the liana without breaking liana into pieces. If Diana removes too many flowers, it may happen so that some of the citizens do not get a wreath. Could some flowers be removed from the liana so that at least one workpiece would conform to the schematic and machine would still be able to create at least n workpieces?

Input

The first line contains four integers m, k, n and s (1 ≤ n, k, m ≤ 5 ⋅ 10^5, k ⋅ n ≤ m, 1 ≤ s ≤ k): the number of flowers on the liana, the number of flowers in one wreath, the amount of citizens and the length of Diana's flower sequence respectively.

The second line contains m integers a_1, a_2, ..., a_m (1 ≤ a_i ≤ 5 ⋅ 10^5) — types of flowers on the liana.

The third line contains s integers b_1, b_2, ..., b_s (1 ≤ b_i ≤ 5 ⋅ 10^5) — the sequence in Diana's schematic.

Output

If it's impossible to remove some of the flowers so that there would be at least n workpieces and at least one of them fullfills Diana's schematic requirements, output -1.

Otherwise in the first line output one integer d — the number of flowers to be removed by Diana.

In the next line output d different integers — the positions of the flowers to be removed.

If there are multiple answers, print any.

Examples

Input


7 3 2 2
1 2 3 3 2 1 2
2 2


Output


1
4 


Input


13 4 3 3
3 2 6 4 1 4 4 7 1 3 3 2 4
4 3 4


Output


-1


Input


13 4 1 3
3 2 6 4 1 4 4 7 1 3 3 2 4
4 3 4


Output


9
1 2 3 4 5 9 11 12 13

Note

In the first example, if you don't remove any flowers, the machine would put out two workpieces with flower types [1, 2, 3] and [3, 2, 1]. Those workpieces don't fit Diana's schematic. But if you remove flower on 4-th place, the machine would output workpieces [1, 2, 3] and [2, 1, 2]. The second workpiece fits Diana's schematic.

In the second example there is no way to remove flowers so that every citizen gets a wreath and Diana gets a workpiece that fits here schematic.

In the third example Diana is the only citizen of the town and that means she can, for example, just remove all flowers except the ones she needs.

Solution (in JAVA):

Solution:
/**
 * @author Finn Lidbetter
 */
import java.util.*;
import java.io.*;
import java.awt.geom.*;

public class TaskD {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();
    
    String[] s = br.readLine().split(" ");
    int m = Integer.parseInt(s[0]);
    int k = Integer.parseInt(s[1]);
    int n = Integer.parseInt(s[2]);
    int t = Integer.parseInt(s[3]);
    int[] arr = new int[m];
    s = br.readLine().split(" ");
    for (int i=0; i<m; i++) {
      arr[i] = Integer.parseInt(s[i]);
    }
    HashSet<Integer> goodSet = new HashSet<Integer>();
    int MAX_FLOWER = 500000;
    int nDeficit = 0;
    int[] deficit = new int[MAX_FLOWER+1];
    int[] deficitCopy = new int[MAX_FLOWER+1];
    int[] surplus = new int[MAX_FLOWER+1];
    s = br.readLine().split(" ");
    for (int i=0; i<t; i++) {
      int goodFlower = Integer.parseInt(s[i]);
      if (!goodSet.contains(goodFlower)) {
        goodSet.add(goodFlower);
        nDeficit++;
      }
      deficit[goodFlower]++;
      deficitCopy[goodFlower]++;
    }
    int[] forwardDist = new int[m];
    Arrays.fill(forwardDist, -1);
    int lo = 0;
    int hi = 0;
    if (goodSet.contains(arr[0]))
      nDeficit = addFlower(arr[0], nDeficit, surplus, deficit);
    //System.out.printf("lo: %d, hi: %d, deficit: %s, surplus: %s, nDeficit: %d, forwardDist: %s\n", lo, hi, Arrays.toString(deficit), Arrays.toString(surplus), nDeficit, Arrays.toString(forwardDist));
    while (hi<m) {
      if (nDeficit==0) {
        // Move lo forward.
        while (nDeficit==0 && lo<=hi) {
          forwardDist[lo] = hi-lo+1;
          if (goodSet.contains(arr[lo])) {
            nDeficit = removeFlower(arr[lo], nDeficit, surplus, deficit);
          }
          lo++;
          //System.out.printf("lo: %d, hi: %d, deficit: %s, surplus: %s, nDeficit: %d, forwardDist: %s\n", lo, hi, Arrays.toString(deficit), Arrays.toString(surplus), nDeficit, Arrays.toString(forwardDist));
        }
      } else {
        // Move hi forward.
        int flower = -1;
        if (hi+1<m)
          flower = arr[hi+1];
        if (goodSet.contains(flower)) {
          nDeficit = addFlower(flower, nDeficit, surplus, deficit);
        }
        hi++;
        //System.out.printf("lo: %d, hi: %d, deficit: %s, surplus: %s, nDeficit: %d, forwardDist: %s\n", lo, hi, Arrays.toString(deficit), Arrays.toString(surplus), nDeficit, Arrays.toString(forwardDist));
      }
    }
    int bestMoves = 987654321;
    int bestStart = -1;
    for (int i=0; i<m; i++) {
      if (forwardDist[i]>=0) {
        int sizeMoves = Math.max(0, forwardDist[i]-k);
        int size = Math.min(k, forwardDist[i]);
        int shiftMoves = Math.max(0, ((i%k) + size)-k);
        if (shiftMoves+sizeMoves<bestMoves) {
          bestMoves = shiftMoves+sizeMoves;
          bestStart = i;
        }
      }
    }
    if (bestMoves>m-n*k) {
      System.out.println(-1);
      return;
    }
    System.out.println(bestMoves);
    if (bestMoves==0) {
      return;
    }
    ArrayList<Integer> toRemove = new ArrayList<>();
    int sizeMoves = Math.max(0, forwardDist[bestStart]-k);
    int size = Math.min(k, forwardDist[bestStart]);
    int shiftMoves = Math.max(0, ((bestStart%k)+size)-k);
    //System.out.printf("bestMoves: %d, bestStart: %d, sizeMoves: %d, size: %d, shiftMoves: %d\n",bestMoves, bestStart, sizeMoves, size, shiftMoves);
    for (int i=1; i<=shiftMoves; i++) {
      toRemove.add(i);
    }
    int nSizeRemoved = 0;
    int index = bestStart;
    while (nSizeRemoved<sizeMoves) {
      int flower = arr[index];
      if (goodSet.contains(flower)) {
        if (deficitCopy[flower]>0) {
          deficitCopy[flower]--;
        } else {
          toRemove.add(index+1);
          nSizeRemoved++;
        }
      } else {
        toRemove.add(index+1);
        nSizeRemoved++;
      }
      index++;
    }
    sb.append(toRemove.get(0));
    for (int i=1; i<toRemove.size(); i++) {
      sb.append(" ");
      sb.append(toRemove.get(i));
    }
    System.out.println(sb);
      
  }
  static int addFlower(int flower, int nDeficit, int[] surplus, int[] deficit) {
    if (deficit[flower]>=1) {
      deficit[flower]--;
      if (deficit[flower]==0) {
        return nDeficit-1;
      }
    } else {
      surplus[flower]++;
    }
    return nDeficit;
  }

  static int removeFlower(int flower, int nDeficit, int[] surplus, int[] deficit) {
    // return new nDeficit value.
    if (surplus[flower]>0) {
      surplus[flower]--;
      return nDeficit;
    } else if (surplus[flower]==0) {
      // Sliding window will never remove to make deficit
      // more than 1.
      deficit[flower]++;
      nDeficit++;
      return nDeficit;
    }
    return 987654321;
  }
}