All participants can take part in \texttt{IOI}, the results table will look like this:
\begin{enumerate}
\item $1000003$ --- $505$ points
\item $1000002$ --- $500$ points
\item $1000006$ --- $480$ points
\item $1000005$ --- $450$ points
\item $1000007$ --- $445$ points
\item $1000010$ --- $430$ points
\item $1000004$ --- $405$ points
\item $1000001$ --- $400$ points
\item $1000009$ --- $399$ points
\item $1000008$ --- $350$ points
\end{enumerate}

The participants who will go to the olympiad are $1000003$, $1000002$, $1000006$, $1000005$.

Only girls can participate in \texttt{EGOI}, the results table will look like this:
\begin{enumerate}
\item $1000006$ --- $480$ points
\item $1000005$ --- $450$ points
\item $1000001$ --- $400$ points
\end{enumerate}

The participants who will go to the olympiad are $1000006$, $1000005$, $1000001$.

All participants can take part in \texttt{BaltOI}, the results table will look the same as for \texttt{IOI}. The same participants who will go to \texttt{IOI} will also go to \texttt{BaltOI}, as well as $1000007$ and $1000010$.