Liza has $270. She spends one third on shoes and buys 3 shirts for $12 each. She spends the remaining amount to buy dresses for $36 each. Determine the number of dresses she buys.