i=8 while i+7:i-=1;a=abs(i);g=`range(9-a)`[4::3];exec"print' '*a+g+g[-1]*6+g[::-1];"*(a>0 or 8)