7 out of 40 people in a cafeteria are wearing checkered shirts. The rest of the people are wearing vertical stripes and horizontal stripes. The number of people wearing horizontal stripes is 4 times as many as the people wearing checkered shirts. How many people are wearing vertical stripes? Let's think first. Chain of thought:
40 people - 7 people = 33 people are wearing stripes. The number of people wearing horizontal stripes is 4 horizontal stripes / checkered shirt x 7 checkered shirts = 28 horizontal stripes. The number of people wearing vertical stripes is 33 total stripes - 28 horizontal stripes = 5 vertical stripes.
Therefore, the answer is 5.