#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n, k, p, x, y;
  cin >> n >> k >> p >> x >> y;
  int sum = 0, temp, count = 0;
  int a[n];
  for (i = 0; i < k; i++) {
    cin >> a[i];
    if (a[i] < y) count++;
  }
  if (count > n / 2)
    cout << -1 << endl;
  else {
    count = n / 2 - count;
    for (i = 0; i < n - k; i++) {
      if (i < count)
        a[k + i] = 1;
      else
        a[k + i] = y;
    }
    for (i = 0; i < n; i++) sum += a[i];
    if (sum > x)
      cout << -1 << endl;
    else {
      for (i = k; i < n - 1; i++) cout << a[i] << " ";
      cout << a[i] << endl;
    }
  }
  return 0;
}
