To celebrate the first day of school, Emma brought in a tray of caramel brownies and walnut brownies. The tray had a total of 30 brownies, of which 90% were caramel. How many caramel brownies did Emma bring?