#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p, k, x, y;
  while (cin >> n >> k >> p >> x >> y) {
    int a[1010];
    int s = 0, l = 0, r = 0;
    for (int i = 0; i < k; i++) {
      cin >> a[i];
      s += a[i];
      if (a[i] < y)
        l++;
      else
        r++;
    }
    if (l >= n / 2 + 1) {
      cout << -1 << endl;
      continue;
    }
    int ans[1010];
    int cnt = 0;
    int t = n / 2 + 1 - r;
    while (t > 0) {
      ans[cnt++] = y;
      s += y;
      t--;
    }
    t = n - r - l - cnt;
    while (t > 0) {
      ans[cnt++] = 1;
      s += 1;
      t--;
    }
    if (s > x) {
      cout << -1 << endl;
      continue;
    }
    for (int i = 0; i < cnt; i++) cout << ans[i] << (i == cnt - 1 ? '\n' : ' ');
  }
  return 0;
}
