a=[1] while 1:print' '.join(' .142 5 3'[(x&-x)%13]for x in a).center(127);a=map(sum,zip([0]+a,a+[0]))