James has 3 pairs of running shoes for every 4 pairs of basketball shoes. If he has 12 pairs of basketball shoes, how many pairs of shoes in total does he have?