#include <cstdlib>
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
double a[n][n], b[n], res[n];
int modif = 1; // переменная ускоряющая поиск квадрата i
int y = 0;
for( int i=0 ; i<n ; i++, modif+=2 ){ //
res[i] = 0;
y += modif; // модифицируем переменную возведения в тепень
b[i] = 1.0/(y+2); // генерируем b[i]
for( int j=0 ; j<n ; j++ ){ //
cin >> a[i][j];
}
}
for( int i=0 ; i<n ; i++ ){ // задает A
for( int j=0 ; j<n ; j++ ){ // задает смещение суммы
res[i] += a[i][j]*b[j];
}
cout << res[i] << (i+1 == n ? '\n' : ' ');
}
}
I2luY2x1ZGUgPGNzdGRsaWI+CiNpbmNsdWRlIDxpb3N0cmVhbT4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpewoJaW50IG47CgljaW4gPj4gbjsKCWRvdWJsZSBhW25dW25dLCBiW25dLCByZXNbbl07CglpbnQgbW9kaWYgPSAxOwkJCQkJCS8vINC/0LXRgNC10LzQtdC90L3QsNGPINGD0YHQutC+0YDRj9GO0YnQsNGPINC/0L7QuNGB0Log0LrQstCw0LTRgNCw0YLQsCBpCglpbnQgeSA9IDA7Cglmb3IoIGludCBpPTAgOyBpPG4gOyBpKyssIG1vZGlmKz0yICl7CQkJLy8gCgkJcmVzW2ldID0gMDsKCQl5ICs9IG1vZGlmOwkJCQkJCQkJCQkJLy8g0LzQvtC00LjRhNC40YbQuNGA0YPQtdC8INC/0LXRgNC10LzQtdC90L3Rg9GOINCy0L7Qt9Cy0LXQtNC10L3QuNGPINCyINGC0LXQv9C10L3RjAoJCWJbaV0gPSAxLjAvKHkrMik7CQkJCQkJCQkJCS8vINCz0LXQvdC10YDQuNGA0YPQtdC8IGJbaV0KCQlmb3IoIGludCBqPTAgOyBqPG4gOyBqKysgKXsJCQkvLyAKCQkJY2luID4+IGFbaV1bal07CgkJfQoJfQoKCWZvciggaW50IGk9MCA7IGk8biA7IGkrKyApewkJCS8vINC30LDQtNCw0LXRgiBBCgkJZm9yKCBpbnQgaj0wIDsgajxuIDsgaisrICl7CQkJLy8g0LfQsNC00LDQtdGCINGB0LzQtdGJ0LXQvdC40LUg0YHRg9C80LzRiwoJCQlyZXNbaV0gKz0gYVtpXVtqXSpiW2pdOwoJCX0KCQljb3V0IDw8IHJlc1tpXSA8PCAoaSsxID09IG4gPyAnXG4nIDogJyAnKTsKCX0KfQ==