/*************************************************************************
> File Name: 3527.cpp
> Author: jiangyuzhu
> Mail: 834138558@qq.com
> Created Time: 2016/8/24 11:24:18
************************************************************************/
#include<iostream>
#include<cstdio>
#include<cstring>
#include<queue>
#include<vector>
#include<set>
#include<map>
#include<cmath>
#include<algorithm>
using namespace std;
const int maxn = 4e5 + 5;
const double pi = acos(-1.0);
struct complex
{
double r, i;
complex() {r = i = 0;}
complex(double a,double b){r = a; i = b;}
complex operator + (const complex &o) const{
return complex(r + o.r, i + o.i);
}
complex operator - (const complex &o) const{
return complex(r - o.r, i - o.i);
}
complex operator * (const complex &o) const{
return complex(r * o.r - i * o.i, r * o.i + i * o.r);
}
}x1[maxn], x2[maxn], A[maxn];
int n, rev[maxn];
double a[maxn], b[maxn], c[maxn];
void init(int &l)
{
int L, k, r, t;
k = 1; L = 0;
while(k < l) k <<= 1, ++ L;
l = k;
for(int i = 0; i < l; i++){
t = i; r = 0; k = L;
while(k--){
r <<= 1;
r |= t & 1;
t >>= 1;
}
rev[i] = r;
}
}
void fft(complex *x, int l, int op)
{
complex u, t;
for(int i = 0; i < l; i++) A[rev[i]] = x[i];
for(int i = 0; i < l; i++) x[i] = A[i];
for(int k = 2; k <= l; k <<= 1){
complex wn(cos(2 * pi/ k * op), sin(2 * pi / k * op));
for(int i = 0; i < l; i += k){
complex w(1, 0);
for(int j = 0; j < k/2; j++){
u = x[i + j]; t = w * x[i + j + k/2];
x[i + j] = u + t; x[i + j + k/2] = u - t;
w = w * wn;
}
}
}
//IDFT
for(int i = 0; i < l && op == -1; i++) x[i].r /= l;
}
int main(void)
{
int l;
scanf("%d", &n); l = n * 2 - 1;
for(int i = 0; i < n; i++) scanf("%lf", &a[i]);
init(l);
for(int i = 0; i < n; i++) x1[i] = complex(a[i], 0);
for(int i = 1; i < n; i++){
b[i] = 1.0 / i / i;
x2[i] = complex(b[i], 0);
}
fft(x1, l, 1); fft(x2, l, 1);
for(int i = 0; i < l; i++) x1[i] = x1[i] * x2[i];
fft(x1, l, -1);
for(int i = 0; i < n; i++){
c[i] = x1[i].r;
}
for(int i = 0; i < l; i++){
x1[i] = complex(0,0);
x2[i] = complex(0,0);
}
for(int i = 0; i < n; i++){
x1[i] = complex(a[n - i - 1], 0);
}
for(int i = 1; i < n; i++){
x2[i] = complex(b[i], 0);
}
fft(x1, l, 1); fft(x2, l, 1);
for(int i = 0; i < l; i++) x1[i] = x1[i] * x2[i];
fft(x1, l, -1);
for(int i = 0; i < n; i++) c[i] -= x1[n - i - 1].r;
for(int i = 0; i < n; i++){
printf("%.3f\n", c[i]);
}
return 0;
}