Rick is buying a t-shirt and a sweater.The sweater costs 3 times as much as the t-shirt.The cost of the sweater is 27$. How much does the t-shirt cost?