using S=System.Console;class a{static void Main(){for(int x=0,y=0,n=S.Read()-47;x>0||++y<(x=3*n);)S.Write(" |-+\n"[--x>0?(y%n>0?0:2)+(x%n>0?0:1):4]);}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page