class X{static void Main(){for(int i=0,j=0,k,n;j-->0||257>(n=i++-(j=64)*4);n=n+k*2*n>>1)System.Console.Write(j>0?" #"[k=n&1]+"":"|\n");}}