#include <bits/stdc++.h>
using namespace std;
int n, k, p, x, y, a[1000], sum = 0, cnt = 0;
int main() {
  cin >> n >> k >> p >> x >> y;
  for (int i = 0; i < k; i++) {
    cin >> a[i];
    sum += a[i];
    if (a[i] < y) cnt++;
  }
  if (cnt > (n - 1) / 2)
    cout << -1;
  else {
    int diem1 = min(n / 2 - cnt, n - k);
    int diemy = n - k - diem1;
    sum += diem1 + diemy * y;
    if (sum > x || diem1 < 0)
      cout << -1;
    else {
      while (diem1--) cout << 1 << ' ';
      while (diemy--) cout << y << ' ';
    }
  }
  return 0;
}
