#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b;
  cin >> n >> b;
  int a[n];
  int i, s = 0;
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  int max = -1;
  for (i = 0; i < n; i++) {
    if (a[i] > max) max = a[i];
  }
  for (i = 0; i < n; i++) {
    a[i] = max - a[i];
    s = s + a[i];
  }
  if (s > b)
    cout << -1 << endl;
  else {
    float n1 = n;
    float e = (b - s) / n1;
    for (i = 0; i < n; i++) {
      cout << fixed << setprecision(6) << e + a[i] << endl;
    }
  }
  return 0;
}
