#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, p, x, y;
  cin >> n >> k >> p >> x >> y;
  int n1 = n / 2, n2 = n1 + 1;
  int s = 0;
  for (int i = 0; i < k; i++) {
    int a;
    cin >> a;
    s += a;
    if (a < y)
      n1--;
    else
      n2--;
  }
  if (n2 >= 0) {
    if (n1 < 0 || s + n1 + n2 * y > x) {
      cout << -1 << endl;
      return 0;
    }
    for (int i = 1; i <= n1; i++) cout << 1 << " ";
    for (int i = 1; i <= n2; i++) cout << y << " ";
  } else {
    if (s + (n - k) > x) {
      cout << -1 << endl;
      return 0;
    }
    for (int i = 1; i <= n - k; i++) cout << 1 << " ";
  }
  return 0;
}
