A summer camp is organizing a hike in needs to buy granola bars for the campers. The granola bars come in small boxes in large boxes. Each small box has six granola bars in each large bags as 12 granola bars. The camp by three times as many small boxes as large boxes, which are together has 90 granola bars. Determine the number of small boxes purchased and the number of large boxes purchased