Ginger bought 3 boxes of markers. She gave 6 markers to her sister. Now ginger has 18 markers. How many markers were in each box?