At a math contest, $57$ students are wearing blue shirts, and another $75$ students are wearing yellow shirts. The $132$ students are assigned into $66$ pairs. In exactly $23$ of these pairs, both students are wearing blue shirts. How many pairs are there in which both students are wearing yellow shirts?

Let's think step by step and output the final answer within \boxed{}.
user