Linda is selling cookies to raise money for a charity. Each box of Marvelous Mints sells for $5, and each box of Caramel Crunch sells for $4. Linda sells 52 boxes and collects $239. How many boxes of each kind did she sell?