#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  t = 1;
  while (t--) {
    long long n, k, p, x, y, i;
    cin >> n >> k >> p >> x >> y;
    vector<long long> ans;
    long long arr[k], sum = 0, val1 = 0, val2 = 0, val3 = 0;
    for (i = 0; i < k; i++) {
      cin >> arr[i];
      sum += arr[i];
      if (arr[i] < y)
        val1++;
      else if (arr[i] > y)
        val3++;
      else
        val2++;
    }
    if (val1 > (n / 2))
      cout << -1;
    else {
      if (val3 + val2 < (n / 2 + 1))
        for (i = 0; i < (n / 2 + 1 - (val2 + val3)); i++) ans.push_back(y);
      long long siz = n - k - ans.size();
      for (i = 0; i < siz; i++) {
        ans.push_back(1);
      }
    }
    for (i = 0; i < ans.size(); i++) {
      sum += ans[i];
    }
    if (sum <= x)
      for (i = 0; i < ans.size(); i++) cout << ans[i] << " ";
    else
      cout << -1;
    cout << endl;
  }
}
