#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  int n, k, p, x, y;
  cin >> n >> k >> p >> x >> y;
  vector<int> a(n);
  int sum = 0;
  for (int i = 0; i < k; i++) {
    cin >> a[i];
    sum += a[i];
  }
  if (sum + n - k > x) {
    cout << -1 << '\n';
    exit(0);
  }
  x -= sum;
  for (int i = k; i < n; i++) {
    if (y + n - 1 - i <= x) {
      a[i] = y;
      x -= y;
    } else {
      a[i] = 1;
      x -= 1;
    }
  }
  vector<int> b = a;
  sort(b.begin(), b.end());
  if (b[n >> 1] >= y) {
    for (int i = k; i < n; i++) {
      cout << a[i] << " ";
    }
    cout << '\n';
  } else {
    cout << -1 << '\n';
  }
  return 0;
}
