function f(n,x)for i=1,n/n*3 do print(x..i)f(n-1,' '..x..i..'.')end end f(io.read(),'')