In a dozen donuts the probability of getting a chocolate donut is 1/5, meaning 1/5 of the 12 donuts are chocolate donuts.
Step 1.- Calculate how much 1/5 out of 12 is:

In each dozen we would get 2.4 chocolate donuts
Step 2.- Calculate how many dozen are needed to get 271 chocolate donuts.
We divide 271 by 2.4 to get the answer:

Step 3: We round the answer to the nearest integer value, and we need 113 dozens of donuts to ensure that all 271 people get a chocolate donut.
Answer: 113