#include <bits/stdc++.h>
using namespace std;
int Num;
char CH[20];
const int inf = 0x3f3f3f3f;
long long du() {
  int x = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return x * f;
}
void P(int x) {
  Num = 0;
  if (!x) {
    putchar('0');
    puts("");
    return;
  }
  while (x > 0) CH[++Num] = x % 10, x /= 10;
  while (Num) putchar(CH[Num--] + 48);
  puts("");
}
int a[200001];
int n, k, p, x, y;
int main() {
  cin >> n >> k >> p >> x >> y;
  for (int i = 1; i <= k; i++) a[i] = du(), x -= a[i];
  for (int i = k + 1; i <= n; i++) {
    x -= 1;
    a[i] = 1;
  }
  if (x < 0) {
    cout << -1;
    return 0;
  }
  for (int i = k + 1; i <= n; i++) {
    int d = min(x, y - 1);
    x -= d;
    a[i] += d;
  }
  int ans = 0;
  for (int i = 1; i <= n; i++) {
    if (a[i] >= y) ans++;
  }
  if (ans >= (n / 2) + 1) {
    for (int i = k + 1; i <= n; i++) cout << a[i] << " ";
    return 0;
  }
  puts("-1");
  return 0;
}
