#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, k;
  cin >> n >> k;
  long long arr[n];
  long long mixi = -1;
  for (long long i = 0; i < n; i++) {
    cin >> arr[i];
    mixi = max(mixi, arr[i]);
  }
  long long ans = 0;
  for (long long i = 0; i < n; i++) {
    ans += (mixi - arr[i]);
  }
  if (ans > k) {
    cout << -1;
  } else {
    long long j = k - ans;
    long double ans2 = (long double)((long double)(j) / (long double)(n));
    for (long long i = 0; i < n; i++) {
      long double ans1 = (long double)(mixi - arr[i]) + ans2;
      cout << fixed << setprecision(10) << ans1 << "\n";
    }
  }
  return 0;
}
