Aspen tree company began planting trees for the next holiday season. For every 8 holly trees they plant, they plant 5 pine trees. If they plant a total of 39 trees, how many of the trees would be holly?