#include <bits/stdc++.h>
using namespace std;
const int e = 1e-6;
int a[200];
int main(int argc, char *argv[]) {
  int n, i, k = 0, m = 0, b;
  cin >> n >> b;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    if (m < a[i]) m = a[i];
  }
  for (i = 0; i < n; i++) k += m - a[i];
  if (k > b) {
    cout << -1;
    return 0;
  }
  b -= k;
  for (i = 0; i < n; i++) printf("%.6f\n", m - a[i] + double(b) / n);
  return 0;
}
