There are white, blue, and red boats in a marina. Three-fourths of the boats in the marina are white,4/7

of the remaining boats are blue, and the rest are red. If there are 9 red boats, how many boats are in the marina?