You can actually figure this out logically. X% of the people wear one sandal. Of the remaining people, half wear no sandals, half wear two; so it averages to one sandal per person, just like the x%. So the number of sandals equals the number of people.