#include <bits/stdc++.h>
using namespace std;
int marks[1000];
int main() {
  ios_base::sync_with_stdio(false);
  cout.precision(30);
  int n, k, p, x, y;
  cin >> n >> k >> p >> x >> y;
  int more = 0;
  int sum = 0;
  for (int i = 0; i < k; ++i) {
    int cur;
    cin >> cur;
    sum += cur;
    if (cur >= y) ++more;
  }
  int total_rem = n - k;
  int rem_hi = (n + 1) / 2 - more;
  int rem_lo = 0;
  if (rem_hi > 0)
    rem_lo = total_rem - rem_hi;
  else
    rem_lo = total_rem;
  sum += rem_lo;
  if (more < (n + 1) / 2) {
    if (rem_hi > total_rem) {
      cout << "-1" << endl;
      return 0;
    }
    sum += rem_hi * y;
  }
  if (sum > x)
    cout << "-1" << endl;
  else {
    for (int i = 0; i < rem_hi; ++i) cout << y << " ";
    for (int i = 0; i < rem_lo; ++i) cout << "1 ";
    cout << endl;
  }
  return 0;
}
