Mary Jo spends $2,690 to buy stock in two companies. She pays $24 a share to one of the companies and $25 a share to the other. If she ends up with a total of 110 shares, how many shares did she buy at $24 a share and how many did she buy at $25 a share?