Tolovy A.K.

11 girls and $n$ boys went to the forest to pick mushrooms. Together, they collected $n^{2}+9 n-2$ mushrooms, and each of them collected the same number of mushrooms.

Who were there more of: boys or girls?
From the condition, it follows that $n^{2}+9 n-2$ is divisible by $n+11$. Therefore, the number $(n^{2}+9 n-2)-(n-2)(n+11)=20$ is also divisible by $n+11$, from which it follows that

$n+11 \leq 20$, that is, $n \leq 9$. Thus, there were no more than 9 boys, which is fewer than the girls.

## Answer

There were more girls.