#include <bits/stdc++.h>
using namespace std;
int n, k, x, y, p;
void solve() {
  int sum = 0, sum1 = 0, sum2 = 0, t;
  for (int i = 1; i <= k; i++) {
    scanf("%d", &t);
    if (t >= y)
      sum2++;
    else
      sum1++;
    sum += t;
  }
  if (sum1 >= (n + 1) / 2) {
    printf("-1");
    return;
  }
  if (sum2 <= (n + 1) / 2) sum += ((n + 1) / 2 - sum2) * y;
  sum += (min(n / 2, n - sum2) - sum1);
  if (sum > x) {
    printf("-1");
    return;
  }
  for (int i = 1; i <= (n + 1) / 2 - sum2; i++) printf("%d ", y);
  for (int i = 1; i <= min(n / 2, n - sum2) - sum1; i++)
    printf(i == 1 ? "%d" : " %d", 1);
  return;
}
int main() {
  scanf("%d%d%d%d%d", &n, &k, &p, &x, &y);
  solve();
  return 0;
}
