Customers at a candy store took a survey. The results showed that 126 customers preferred chocolate candy. This represented 35% of the total number of customers who took the survey. How many customers took the survey?