Charlotte bought a magazine for $5 and four boxes of candy. She spent a total of $25. How much did each box of candy cost?