#include <bits/stdc++.h>
using namespace std;
int n, k, p, x, y, sum, a[200000];
void print() {
  puts("-1");
  exit(0);
}
int main() {
  int cnt = 0;
  scanf("%d%d%d%d%d", &n, &k, &p, &x, &y);
  for (int i = 1; i <= k; ++i) {
    scanf("%d", &a[i]);
    sum += a[i];
    if (a[i] < y) cnt++;
  }
  if (cnt >= (n + 1) / 2) print();
  for (int i = 1; i <= (n - 1) / 2 - cnt; ++i) {
    if (k + i > n) break;
    a[k + i] = 1;
    sum++;
  }
  int j = k + (n + 1) / 2 - cnt;
  for (; j <= n; ++j) {
    a[j] = y;
    sum += y;
  }
  if (sum > x) print();
  for (int i = k + 1; i <= n; ++i) printf("%d ", a[i]);
  return 0;
}
