\documentclass[11pt,a4paper]{article}
	\usepackage{amssymb}
	\usepackage{amsmath}
	\usepackage{geometry}
	 \geometry{
	 a4paper,
	 total={170mm,257mm},
	 left=20mm,
	 top=20mm,
	 }



	\usepackage{pgf} 

	\pgfmathsetseed{\number\pdfrandomseed} % to ensure that it is randomized
	% use \randomseed for xelatex

	\newcommand{\randomnum}[1]{% 
		\pgfmathsetmacro{\thenum}{int(random(ceil(#1-#1/4),floor(#1+#1/4)))}%
		\thenum%
	}%


	\newcommand{\answerbox}[1]{%%
    	\fbox{\rule{#1in}{0pt}\rule[-0.5ex]{0pt}{4ex}}}

    \title{\textbf{Application Form Y42}}
    \author{Intergalactic Registration Office}
    \date{Control no. \randomnum{1000}}
    
    \addtolength{\topmargin}{-1cm}
    \addtolength{\textheight}{1cm}
    
    

    
\begin{document}

\maketitle
\thispagestyle{empty}

\section*{}
I hereby applicate for the registration of being a hacker. 
\\
The passport document has been \ \ \ \answerbox{0.1} already issued in a blank state \ \ \ \answerbox{0.1} not yet issued


\section*{Personal data}
\ 

Forename/Nick (max. 17 characters)
\\
\answerbox{6.5}
\\

Surname (max. 17 characters) [optional]
\\
\answerbox{6.5}
\\

Home(-hackerspace) (max. 17 characters)
\\
\answerbox{6.5}
\\

\section*{Current situation}
\subsection*{Chaos events}
This is my \ \ \ \ \answerbox{0.1} first \ \ \ \ \answerbox{0.1} second \ \ \ \ \answerbox{0.1} $\{\exists x \in \mathbb{N} \ |\ x > 2  \}$ \ \ \ Chaos event I've ever visited.

\subsection*{The Chaos}
I know \ \ \ \answerbox{0.1} nothing \ \ \ \answerbox{0.1} somewhat \ \ \ \answerbox{0.1} the secret \ \ \ \ about the Chaos.
\\

\section*{Application for registering my GPG fingerprint - Optional}
I hereby applicate to register my GPG fingerprint. 
I have either
\begin{itemize}
\item[1.] uploaded the public key to the \textbf{keys.openpgp.org} keyserver \textbf{using the following mail address} or
\item[2.] I can state the \textbf{full GPG fingerprint}, which is
\end{itemize}
\
Mail address or full GPG fingerprint in the form of 1234-ABCD-5678-9012-1234-1234-1234-1234-1234
\\
\answerbox{6.5}

\end{document}

