#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k, p, x, y;
  cin >> n >> k >> p >> x >> y;
  long long int sum = 0;
  long long int cov = 0;
  for (int i = 0; i < k; i++) {
    long long int kk;
    cin >> kk;
    if (kk < y) cov++;
    sum += kk;
  }
  int used = k;
  int remain;
  if (cov > (n / 2)) {
    cout << "-1";
    return 0;
  } else {
    remain = (n / 2) - cov;
    if (remain > n - k) remain = n - k;
    sum += remain;
    used += remain;
  }
  int finalre = n - used;
  if (sum + finalre * y <= x) {
    for (int i = 0; i < remain; i++)
      cout << "1"
           << " ";
    for (int i = 0; i < finalre; i++) cout << y << " ";
  } else
    cout << "-1" << endl;
  return 0;
}
