Rhianna bought a box with both blueberry and poppyseed muffins. There were 5 more blueberry muffins than poppyseed muffins, and there were 87 muffins in all. How many blueberry muffins did Rhianna buy?