#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, a[100] = {0}, i, MAX = 0, sum = 0;
  double k;
  cin >> n >> b;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] > MAX) MAX = a[i];
  }
  for (i = 0; i < n; i++) {
    sum += MAX - a[i];
  }
  b -= sum;
  if (b >= 0) {
    k = b / (n * 1.0);
    for (i = 0; i < n; i++)
      cout << fixed << setprecision(6) << MAX - a[i] + k << endl;
  } else
    cout << -1 << endl;
  return 0;
}
