Problem 87 *

A group of boys and girls went to a dance party. It is known that for every pair of boys, there are exactly two girls who danced with both of them; and for every pair of girls there are exactly two boys who danced with both of them. Prove that the numbers of girls and boys are equal.

[originally posted by Mladenov on TSR]