Kristina bought 3 times as many yellow roses as red roses. She bought a total of 8 dozen roses. How many of each flower did she buy?