#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, p, x, y, i, j, lesscnt, bigcnt;
  int onetest, medtest;
  cin >> n >> k >> p >> x >> y;
  lesscnt = bigcnt = 0;
  for (i = 0; i < k; i++) {
    cin >> j;
    if (j >= y)
      bigcnt++;
    else if (j < y)
      lesscnt++;
    x -= j;
  }
  medtest = max(0, n / 2 + 1 - bigcnt);
  onetest = n - bigcnt - medtest - lesscnt;
  if (onetest < 0 || x - onetest - medtest * y < 0 || y > p ||
      medtest + bigcnt < lesscnt + onetest)
    cout << -1 << endl;
  else {
    bool first = true;
    for (i = 0; i < onetest; i++) {
      if (first)
        first = false;
      else
        cout << " ";
      cout << 1;
    }
    for (i = 0; i < medtest; i++) {
      if (first)
        first = false;
      else
        cout << " ";
      cout << y;
    }
    cout << endl;
  }
  return 0;
}
