b=input() a=b/2 c=[" "*i+"X"+" "*(b+2*~i)+"X" for i in range(a)] print"\n".join(c)+"\n"+" "*a+"X"+"\n"+"\n".join(c[::-1])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page