(3**(Date second&3))do(repeat(y,repeat(x,if((x%3&y%3|x/3%3&y/3%3|x/9%3&y/9%3)%2>0," ","::")print)writeln))