#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, p, x, y, a, sum = 0, small = 0, median;
  vector<int> ans;
  scanf("%d %d %d %d %d", &n, &k, &p, &x, &y);
  median = (n + 1) >> 1;
  for (int i = 0; i < k; i++) {
    scanf("%d", &a);
    if (a < y) ++small;
    sum += a;
  }
  if (sum > x || small >= median) {
    puts("-1");
    return 0;
  }
  n -= k;
  for (int i = small + 1; i < median && n > 0; ++i, --n) {
    ans.push_back(1);
    sum += 1;
  }
  for (int i = (k - small); i < median && n > 0; ++i, --n) {
    ans.push_back(y);
    sum += y;
  }
  if (sum > x) {
    puts("-1");
    return 0;
  }
  for (int i = 0; i < ans.size(); i++) {
    printf("%d ", ans[i]);
  }
  return 0;
}
