Adam had $27 to spend on 3 beakers for his science class. After buying them, Adam had $6 left. How much did each of the beakers cost?