#include <bits/stdc++.h>
using namespace std;
bool bol;
int a[1001];
int b[1001];
int n, m, k, i, j, p, x, y, l, med, sum, cur, s1, s2;
vector<int> res;
int main() {
  cin >> n >> k >> p >> x >> y;
  for (i = 1; i <= k; i++) cin >> a[i], sum += a[i];
  if (sum > x) {
    cout << -1;
    return 0;
  }
  sort(a + 1, a + k + 1);
  for (i = 1; i <= k; i++)
    if (a[i] >= y)
      s1++;
    else
      s2++;
  if (s2 >= n / 2 + 1) {
    cout << -1;
    return 0;
  }
  if (s1 >= n / 2 + 1)
    for (i = k; i < n; i++) res.push_back(1), sum++;
  else {
    for (i = s1; i <= n / 2; i++) res.push_back(y), sum += y;
    for (i = s2; i < n / 2; i++) res.push_back(1), sum++;
  }
  if (sum > x) {
    cout << -1;
    return 0;
  }
  for (i = 0; i < res.size(); i++) cout << res[i] << " ";
  cin >> n;
}
