There are 6 red, 6 brown, 6 yellow, and 6 gray scarves packaged in 24 identical, unmarked boxes, 1 scarf per box. What is the least number of boxes that must be selected in order to be sure that among the boxes selected 3 or more contain scarves of the same color?