There are 27 marbles in a blue jar. The blue jar has 9 times as many marbles as a red jar. Let n be the number of marbles in the red jar.