#include <bits/stdc++.h>
using namespace std;
int main() {
  int b, n, max = 0;
  int a[101], a1[101];
  cin >> n >> b;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] > max) max = a[i];
  }
  int s = 0;
  for (int i = 0; i < n; i++) {
    a1[i] = max - a[i];
    s += a1[i];
  }
  if (s > b) {
    cout << -1;
    return 0;
  }
  double x = (double)(b - s) / n * 1.0;
  cout.setf(cout.fixed);
  cout.precision(6);
  for (int i = 0; i < n; i++) {
    cout << a1[i] + x << endl;
  }
  return 0;
}
