Each year, a town holds a winter carnival. This year, 40% of the attendees were children under the age of 10. If 304 children under the age of 10 attended the carnival, how many attendees in total were there?