Each boy danced with exactly four girls and each girl danced with exactly five boys at a party. If 45 students attended the party, how many boys were there?