#include <bits/stdc++.h>
using namespace std;
double a[200];
int main() {
  int N;
  double K;
  cin >> N >> K;
  double s = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    s += a[i];
  }
  s = s + K;
  double u = s / N;
  if (u * N < s)
    cout << "-1";
  else {
    s /= N;
    for (int i = 0; i < N; i++) {
      if (a[i] > s) {
        cout << "-1";
        return 0;
      }
    }
    for (int i = 0; i < N; i++) {
      cout << setprecision(10) << s - a[i] << endl;
    }
  }
  return 0;
}
