#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, p, x, y;
  while (scanf("%d %d %d %d %d", &n, &k, &p, &x, &y) != EOF) {
    int a;
    int sum = 0;
    int cnt = 0;
    for (int i = 1; i <= k; i++) {
      scanf("%d", &a);
      if (a >= y) cnt++;
      sum += a;
    }
    int mid_p = (n + 1) / 2;
    int rem = n - k;
    int y_num = mid_p - cnt;
    if (y_num * y + (rem - y_num) + sum > x || y_num > rem || n - k + sum > x)
      puts("-1");
    else {
      y_num = (y_num < 0 ? 0 : y_num);
      for (int i = 0; i < y_num; i++) printf("%d ", y);
      for (int i = 0; i < rem - y_num; i++)
        printf("%d%c", 1, i != rem - y_num - 1 ? ' ' : '\n');
    }
  }
  return 0;
}
