A bowl contains blueberries and strawberries. There are a total of 48 berries in the bowl. The ratio of blueberries to strawberries is 9 to 3. How many of each berry are in the bowl?