/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
class Main {
public static void main
(String[] args
) { Scanner in
= new Scanner
(System.
in); int n = in.nextInt();
double[][] a = new double[n][n];
double[]res = new double[n];
for( int i=0 ; i<n ; i++ ){
res[i] = 0;
}
for( int j=0 ; j<n ; j++ ){
for( int i=0 ; i<n ; i++ ){
a[i][j] = in.nextInt();
res[j] += a[i][j]*(1.0/((i+1)*(i+1)+2));
}
System.
out.
println("res["+j
+"] ="+res
[j
]); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CiAKY2xhc3MgTWFpbiB7CiAgICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICAgICBTY2FubmVyIGluID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKICAgICAgICAgICBpbnQgbiA9IGluLm5leHRJbnQoKTsKICAgICAgICAgICBkb3VibGVbXVtdIGEgPSBuZXcgZG91YmxlW25dW25dOwogICAgICAgICAgIGRvdWJsZVtdcmVzID0gbmV3IGRvdWJsZVtuXTsKICAgICAgICAgICBmb3IoIGludCBpPTAgOyBpPG4gOyBpKysgKXsKICAgICAgICAgICAgICAgIHJlc1tpXSA9IDA7CiAgICAgICAgICAgfQogICAgICAgICAgIGZvciggaW50IGo9MCA7IGo8biA7IGorKyApewogICAgICAgICAgICAgICAgZm9yKCBpbnQgaT0wIDsgaTxuIDsgaSsrICl7CiAgICAgICAgICAgICAgICBhW2ldW2pdID0gaW4ubmV4dEludCgpOwogICAgICAgICAgICAgICAgcmVzW2pdICs9IGFbaV1bal0qKDEuMC8oKGkrMSkqKGkrMSkrMikpOwogICAgICAgICAgICAgICAgfSAKICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oInJlc1siK2orIl0gPSIrcmVzW2pdKTsKICAgICAgICAgICB9CiAgICAgfQp9