The class received 39 lollipops.
The teacher said to divide them into two groups so that the ratio is 5 to 8. (5:8) How many lollipops will be in each group?