import java.util.Scanner;
public class Gauss {
final static int MAXN = 20;
//static double A[][]=new double[MAXN][MAXN];
static double L[][] = new double[MAXN][MAXN];
static double U[][] = new double[MAXN][MAXN];
// static double x[] = new double[MAXN];
static double y[] = new double[MAXN];
//static double temp[] = new double[MAXN];
static int num;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out