#include<iostream>#include<algorithm>#include<cmath>usingnamespace std;constint N =110;constdouble eps =1e-8;doublep[N][N];intgauss(int n){int c, r;for (c =0, r =0; c < n; c ++){int t = r;for (int i = r; i < n; i ++)if (fabs(p[i][c]) >fabs(p[t][c])) t = i;if (fabs(p[t][c]) < eps) continue;for (int i = c; i <= n; i ++)swap(p[r][i],p[t][i]);for (int i = n; i >= c; i --)p[r][i] /=p[r][c];for (int i = r +1; i < n; i ++)if (fabs(p[i][c]) > eps)for (int j = n; j >= c; j --)p[i][j] -=p[r][j] *p[i][c]; r ++; }if (r < n){for (int i = r; i < n; i ++)if (fabs(p[i][n]) > eps)return2;return1; }for (int i = n -1; i >=0; i --)for (int j = i +1; j < n; j ++)p[i][n] -=p[i][j] *p[j][n];return0;}intmain(){int n ; cin >> n;for (int i =0; i < n; i ++)for (int j =0; j <= n; j ++) cin >>p[i][j];int t =gauss(n);if (t ==0)for (int i =0; i < n; i ++){if (fabs(p[i][n]) < eps) p[i][n] =0;printf("%.2lf\n",p[i][n]); }elseif (t ==1) puts("Infinite group solutions");elseputs("No solution");}