#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  ;
  long long int no, n, k, p, x, y, i, j;
  cin >> n >> k >> p >> x >> y;
  vector<long long int> done;
  long long int cnt1, cnt2;
  cnt1 = cnt2 = 0;
  long long int sum = 0;
  for (i = 0; i < k; i++) {
    cin >> no;
    done.push_back(no);
    if (no < y) {
      cnt1++;
    }
    if (no >= y) {
      cnt2++;
    }
    sum += no;
  }
  long long int ls = (n - 1) / 2;
  long long int remain = n - ls;
  long long int dec = 0;
  long long int r = remain - cnt2;
  if (cnt1 == ls) {
    if (r * y + sum > x) {
      cout << -1 << endl;
    } else {
      for (i = 0; i < r; i++) {
        cout << y << " ";
      }
      cout << endl;
    }
  } else if (cnt1 > ls) {
    cout << -1 << endl;
  } else if (cnt1 < ls) {
    if (((ls - cnt1) + r * y + sum > x) && (r >= 0)) {
      cout << -1 << endl;
    } else {
      dec = 0;
      if (r < 0) {
        dec = abs(r);
        if (((ls - cnt1 - dec) + sum > x)) {
          cout << -1 << endl;
          return 0;
        }
      }
      for (i = 0; i < ((ls - cnt1) - dec); i++) {
        cout << 1 << " ";
      }
      for (i = 0; i < r; i++) {
        cout << y << " ";
      }
      cout << endl;
    }
  }
  return 0;
}
