#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, p, x, y;
  int marks, low = 0, sum = 0, fillwith1 = 0, lp1, lp2, lp3;
  cin >> n >> k >> p >> x >> y;
  for (lp1 = 0; lp1 < k; ++lp1) {
    cin >> marks;
    sum += marks;
    if (marks < y) low++;
  }
  fillwith1 = min((n - 1) / 2 - low, n - k);
  if (fillwith1 < 0 || sum + fillwith1 + (n - k - fillwith1) * y > x)
    cout << -1 << endl;
  else {
    lp2 = n - k - fillwith1;
    for (lp1 = 0; lp1 < n - k; ++lp1) {
      if (lp2) {
        cout << y << " ";
        --lp2;
      } else
        cout << 1 << " ";
    }
  }
  return 0;
}
