#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#define ll long long
using namespace std;
double n, sum, avg, d, sqt_d, res;
int main()
{
cin >> n;
vector<ll>a(n);
for (size_t i = 0; i < n; i++)
{
cin >> a[i];
sum += a[i];
}
avg = sum / n;
for (size_t i = 0; i < n; i++)
{
d += (a[i] - avg) * (a[i] - avg);
}
d /= n;
sqt_d = pow(d, 0.5);
for (size_t i = 0; i < n; i++)
{
res = (a[i] - avg) / sqt_d;
cout << res << endl;
}
return 0;
}
10-28
215