#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n, k, p, x, y, cnt = 0, sum = 0, mid, temp, temp2, res;
  int arr[1010];
  memset(arr, 10000, sizeof(arr));
  cin >> n >> k >> p >> x >> y;
  mid = n >> 1;
  for (int i = 0; i < k; ++i) {
    cin >> arr[i];
    sum += arr[i];
    if (arr[i] >= y) ++cnt;
  }
  res = n - k;
  if (sum + res > x)
    cout << "-1";
  else {
    temp = x - sum;
    if (cnt >= mid + 1) {
      for (int i = 0; i < res; ++i) cout << "1 ";
    } else {
      if (mid - cnt + 1 > res)
        cout << "-1";
      else {
        temp -= (mid - cnt + 1) * y;
        if (temp >= res - (mid - cnt + 1)) {
          for (int i = 0; i < mid - cnt + 1; ++i) cout << y << " ";
          for (int i = 0; i < res - (mid - cnt + 1); ++i) cout << "1 ";
        } else
          cout << "-1";
      }
    }
  }
  return 0;
}
