#!ruby -nrmathn (r=1..$_.to_i).map{|a|puts r.map{|b|a.gcd(b)<2?"t":" "}*""}