#include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
double b[n];
for (int i=0; i<n; i++)
{
if((i+1)%2==0) b[i]=1.0/((i+1)*(i+1) + 2);
else b[i]=1.0/(i+1);
}
double A[n][n];
for (int i=0; i<n; i++)
for (int j=0; j<n; j++)
cin>>A[i][j];
double Ab[n];
for (int i=0; i<n; i++)
{
Ab[i]=0;
for (int j=0; j<n; j++)
{
Ab[i]+=A[i][j]*b[j];
}
}
for (int i=0; i<n; i++)
cout<<Ab[i]<<" ";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CglpbnQgbjsKCWNpbj4+bjsKCWRvdWJsZSBiW25dOwoJZm9yIChpbnQgaT0wOyBpPG47IGkrKykKCXsKCQlpZigoaSsxKSUyPT0wKSBiW2ldPTEuMC8oKGkrMSkqKGkrMSkgKyAyKTsKCQllbHNlIGJbaV09MS4wLyhpKzEpOwogICAgfQoKCWRvdWJsZSBBW25dW25dOwoJZm9yIChpbnQgaT0wOyBpPG47IGkrKykKCSAgICBmb3IgKGludCBqPTA7IGo8bjsgaisrKQoJICAgICAgICBjaW4+PkFbaV1bal07CiAgICBkb3VibGUgQWJbbl07CiAgICBmb3IgKGludCBpPTA7IGk8bjsgaSsrKQogICAgeyAgIAogICAgCUFiW2ldPTA7CiAgICAJZm9yIChpbnQgaj0wOyBqPG47IGorKykKICAgIAl7CiAgICAJCUFiW2ldKz1BW2ldW2pdKmJbal07CiAgICAJfQogICAgCiAgICB9CiAgICBmb3IgKGludCBpPTA7IGk8bjsgaSsrKQogICAgICAgIGNvdXQ8PEFiW2ldPDwiICI7CiAKCXJldHVybiAwOwp9