Many residents of Bitaculandia participate in the stages of international programming olympiads. There are seven such olympiads held in Bitaculandia:
\begin{enumerate}
\item \texttt{IOI} - International Olympiad in Informatics
\item \texttt{CEOI} - Central-Eventora Olympiad in Informatics
\item \texttt{EGOI} - Eventora Girls Olympiad in Informatics
\item \texttt{EJOI} - Eventora Junior Olympiad in Informatics
\item \texttt{BaltOI} - Balticodian Olympiad in Informatics
\item \texttt{BalkOI} - Balkolian Olympiad in Informatics
\item \texttt{JBOI} - Junior Balkolian Olympiad in Informatics
\end{enumerate}

Miss M is responsible for organizing various stages of olympiads, as well as selections (training camps) for all seven international stages. After the last selection round, teams of four to six people are formed for all seven olympiads. However, only those participants who meet the criteria for participation in the olympiad should be sent to each competition. Here is a list of algorithms for determining the participants of the teams for the olympiads:

\begin{enumerate}
\item \texttt{IOI} - Top $4$ participants based on the total scores from all selection rounds.
\item \texttt{CEOI} - Top $4$ participants based on the total scores from all selection rounds.
\item \texttt{EGOI} - Top $4$ female participants based on the total scores from all selection rounds.
\item \texttt{EJOI} - Top $4$ participants at most $15$ years old based on the total scores from all selection rounds.
\item \texttt{BaltOI} - Top $6$ participants based on the total scores from all selection rounds.
\item \texttt{BalkOI} - Top $4$ participants who are not in $11$th grade based on the total scores from all selection rounds.
\item \texttt{JBOI} - Top $4$ participants who are not in $11$th or $10$th grade based on the total scores from all selection rounds.
\end{enumerate}

If there are fewer participants than the required number, it means that the team will consist of fewer people. For example, if you need to determine the team for \texttt{EGOI} and there are only two girls, it means that the team will consist of only two participants, not four.

Since there are many participants and many olympiads, and the results are desired immediately after the competition ends, Miss M asks to write a program that, based on the results and information about the participants, provides the composition of the teams for the international stages of the olympiads.