A Bethe ansatz solvable model for superpositions of Cooper pairs and condensed molecular bosons