for(a=b=new Date%10*3;a--;print($))for(_=b,$='';_--;)$+=/1..1/((a*27+_).toString(3))?' ':'::'