\documentclass{minimal}
\setlength{\hoffset}{-4736286sp}
\setlength{\voffset}{-4736286sp}
\begin{document}
	\noindent
\kern500000sp\rule{500000sp}{500000sp}Y
\kern500000sp\rule[-250000sp]{500000sp}{500000sp}Y
\kern500000sp\rule[250000sp]{500000sp}{500000sp}Y
\\
X\kern-1cmY
\end{document}