#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, sum = 0;
  cin >> n >> b;
  int a[n], y[n];
  for (int i = 0; i < n; i++) cin >> a[i];
  int ma = *max_element(a, a + n);
  for (int i = 0; i < n; i++) {
    y[i] = ma - a[i];
    sum += y[i];
  }
  if (sum > b) {
    cout << -1;
    return 0;
  }
  b -= sum;
  for (int i = 0; i < n; i++) {
    cout << fixed << setprecision(6) << float((b / (float)n) + y[i]) << " ";
  }
  return 0;
}
