A survey about favorite desserts reports that exactly:

12% of the sample prefer cake
4% of the sample prefer cookies
28% of the sample prefer ice cream
40% of the sample prefer chocolate

What is the smallest number of people that could have taken the survey? Explain your reasoning.