Problem: Valery is a PE teacher at a school in Berland. Soon the students are going to take a test in long jumps, and Valery has lost his favorite ruler! 

However, there is no reason for disappointment, as Valery has found another ruler, its length is l centimeters. The ruler already has n marks, with which he can make measurements. We assume that the marks are numbered from 1 to n in the order they appear from the beginning of the ruler to its end. The first point coincides with the beginning of the ruler and represents the origin. The last mark coincides with the end of the ruler, at distance l from the origin. This ruler can be repesented by an increasing sequence a1, a2, ..., an, where ai denotes the distance of the i-th mark from the origin (a1 = 0, an = l).

Valery believes that with a ruler he can measure the distance of d centimeters, if there is a pair of integers i and j (1 ≤ i ≤ j ≤ n), such that the distance between the i-th and the j-th mark is exactly equal to d (in other words, aj - ai = d). 

Under the rules, the girls should be able to jump at least x centimeters, and the boys should be able to jump at least y (x < y) centimeters. To test the children's abilities, Valery needs a ruler to measure each of the distances x and y. 

Your task is to determine what is the minimum number of additional marks you need to add on the ruler so that they can be used to measure the distances x and y. Valery can add the marks at any integer non-negative distance from the origin not exceeding the length of the ruler.

Input

The first line contains four positive space-separated integers n, l, x, y (2 ≤ n ≤ 105, 2 ≤ l ≤ 109, 1 ≤ x < y ≤ l) — the number of marks, the length of the ruler and the jump norms for girls and boys, correspondingly.

The second line contains a sequence of n integers a1, a2, ..., an (0 = a1 < a2 < ... < an = l), where ai shows the distance from the i-th mark to the origin.

Output

In the first line print a single non-negative integer v — the minimum number of marks that you need to add on the ruler.

In the second line print v space-separated integers p1, p2, ..., pv (0 ≤ pi ≤ l). Number pi means that the i-th mark should be at the distance of pi centimeters from the origin. Print the marks in any order. If there are multiple solutions, print any of them.

Examples

Input

3 250 185 230
0 185 250


Output

1
230


Input

4 250 185 230
0 20 185 250


Output

0


Input

2 300 185 230
0 300


Output

2
185 230

Note

In the first sample it is impossible to initially measure the distance of 230 centimeters. For that it is enough to add a 20 centimeter mark or a 230 centimeter mark.

In the second sample you already can use the ruler to measure the distances of 185 and 230 centimeters, so you don't have to add new marks.

In the third sample the ruler only contains the initial and the final marks. We will need to add two marks to be able to test the children's skills.

Solution (in JAVA):

Solution:
import java.util.*;

public class LongJump {
  
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int noOfMarks = sc.nextInt();
    long maxLength = sc.nextLong();
    long girlPass = sc.nextLong(); 
    long boyPass = sc.nextLong();
    long[] marks = new long[noOfMarks];
    boolean girlSat = false;
    boolean boySat = false;
    
    //Set markings
    for(int i = 0; i < noOfMarks; i++) {
      long in = sc.nextLong();
      marks[i] = in;
    }
    
    //We start from the first mark and find if we can satisfy
    for(int j = 0; j < noOfMarks; j++) {
      //From this point, check for girls first:
      if(marks[j] == girlPass || ((marks[j] - girlPass > 0) && binarySearch(marks,(marks[j] - girlPass)) != -1) || (marks[j] + girlPass <= maxLength && binarySearch(marks,(marks[j] + girlPass)) != -1 )){
        girlSat |= true;
      }
      //Check boys
      if(marks[j] == boyPass || ((marks[j] - boyPass > 0) && binarySearch(marks,(marks[j] - boyPass)) != -1) || (marks[j] + boyPass <= maxLength && binarySearch(marks,(marks[j] + boyPass)) != -1 )){
        boySat |= true;
      }
      
      //If both satisfied, break out
      if(boySat && girlSat) {
        break;
      }
    }
    
    if(boySat && girlSat) {
      System.out.println(0); 
    }else if(boySat && !girlSat) {
      System.out.println(1);
      System.out.println(girlPass);
    }else if(!boySat && girlSat) {
      System.out.println(1);
      System.out.println(boyPass);
    }else{
      //Important: Determine if we just need 1 additional point, or 2
      //At this point, we know that all ranges from each mark does not originally exist, but if we add, can we kill 2 birds with 1 stone?
      for(int k = 0; k < noOfMarks; k++) {
        //We set a mark here
        long markLeftGirl = marks[k] - girlPass;
        long markRightGirl = marks[k] + girlPass;
        long markLeftBoy = marks[k] - boyPass;
        long markRightBoy = marks[k] + boyPass;
        long markLeftGirlLeftBoy = marks[k] - girlPass - boyPass;
        long markLeftGirlRightBoy = marks[k] - girlPass + boyPass;
        long markRightGirlLeftBoy = marks[k] + girlPass - boyPass;
        long markRightGirlRightBoy = marks[k] + girlPass + boyPass;
    
        //Left marker (Girl) + Left Left marker (Boy) / Left Right marker (Boy)
        if((markLeftGirl > 0) && ((binarySearch(marks, markLeftGirlLeftBoy) != -1) || (binarySearch(marks, markLeftGirlRightBoy) != -1))){
          boySat |= true;
          girlSat |= true;
          System.out.println(1);
          System.out.println(markLeftGirl);
          break;
        }
        //Right marker (Girl) + Right Left marker (Boy) / Right Right marker (Boy)
        if((markRightGirl <= maxLength) && ((binarySearch(marks, markRightGirlLeftBoy) != -1) || (binarySearch(marks, markRightGirlRightBoy) != -1))){
          boySat |= true;
          girlSat |= true;
          System.out.println(1);
          System.out.println(markRightGirl);
          break;
        }
        //Left marker (Boy) + Left Left marker (girl) / Left Right marker (girl)
        if((markLeftBoy > 0) && ((binarySearch(marks, markLeftGirlLeftBoy) != -1) || (binarySearch(marks, markRightGirlLeftBoy) != -1))){
          boySat |= true;
          girlSat |= true;
          System.out.println(1);
          System.out.println(markLeftBoy);         
          break;
        }
        //Right marker (Girl) + Right Left marker (Boy) / Right Right marker (Boy)
        if((markRightBoy <= maxLength) && ((binarySearch(marks, markRightGirlRightBoy) != -1) || (binarySearch(marks, markLeftGirlRightBoy) != -1))){
          boySat |= true;
          girlSat |= true;
          System.out.println(1);
          System.out.println(markRightBoy);
          break;
        }
      }
      
      if(!boySat && !girlSat) {
        System.out.println(2);
        System.out.println(girlPass+" "+boyPass);
      }
    }
    
    sc.close();
  }
  
  public static int binarySearch(long[] input, long goal) {
   int min = 0;
   int max = input.length - 1;
   int mid = 0;
   
   while(min <= max) {
     mid = min + (max - min) / 2;
     
     if(goal < input[mid]) {
       max = mid - 1;
     }else if(goal > input[mid]) {
       min = mid + 1;
     }else {
       //Found
       return mid;
     }
   }
   return -1;
 }
  
}