There are people in a room, who each wear a hat of a specific color. They are able to see other people's hats but not their own.
One of them shouted, "If you can see at least 5 red hats and at least 5 white hats, raise your hand!"
Exactly 10 people raised their hands.
What is the minimum value of that fits this scenario?