(def f(b a)(if(< b 1)a(f(mod a b)b)))(for i 1(= n(read))(for j 1 n(pr:if(<(f i j)2)"t"" "))(prn))