#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, p, x, y, sum = 0;
  cin >> n >> k >> p >> x >> y;
  int l = 0, r = 0;
  for (int i = 1; i <= k; i++) {
    int num;
    cin >> num;
    if (num < y)
      l++;
    else
      r++;
    sum += num;
  }
  int mid = n / 2 + 1;
  if (l >= mid) {
    cout << -1 << endl;
    return 0;
  }
  int ans[1000], cnt = 0;
  if (r < mid) {
    int c = mid - r;
    while (c--) {
      ans[++cnt] = y;
      sum += y;
    }
  }
  int d = n - r - l - cnt;
  while (d--) {
    ans[++cnt] = 1;
    sum += 1;
  }
  if (sum > x)
    cout << -1 << endl;
  else {
    for (int i = 1; i <= cnt; i++) cout << ans[i] << " ";
  }
}
