\documentclass[12pt]{article}

\usepackage{theorem,amsmath,amssymb}

\long\def\comment#1\endcomment{}

\pagestyle{empty}

%\input{listki.tex}

\begin{document}

\begin{center}
\unitlength=0.4mm
\begin{picture}(0,0)(240,500)
\thicklines
\put(0,0){\line(5,6){25}}
\put(0,0){\line(6,5){30}}
\put(500,500){\line(-5,-6){25}}
\put(500,500){\line(-6,-5){30}}
\put(500,0){\line(-5,6){25}}
\put(500,0){\line(-6,5){30}}
\put(0,500){\line(5,-6){25}}
\put(0,500){\line(6,-5){30}}
\put(500,250){\line(-5,-6){25}}
\put(500,250){\line(-6,-5){30}}
\put(25,30){\line(1,1){220}}
\put(30,25){\line(1,1){220}}
\put(25,470){\line(1,-1){220}}
\put(30,475){\line(1,-1){220}}
\put(475,470){\line(-1,-1){220}}
\put(470,475){\line(-1,-1){220}}
\put(475,30){\line(-1,1){95}}
\put(250,245){\line(1,-1){220}}
\put(255,250){\line(1,-1){120}}
\put(475,220){\line(-1,-1){95}}
\put(470,225){\line(-1,-1){95}}
\end{picture}
\end{center}

\end{document}