A sports store donates basketballs and soccer balls to the boys and girls club. The ratio of basketballs to soccer balls is 7:6. The store donates 24 soccer balls. How many basketballs does the store donate?