ll@n,m[3d4];rd(m(n));wt(inversion(n,m));