Six children are each offered a single scoop of any of 3 flavors of ice cream from the Combinatorial Creamery. In how many ways can each child choose a flavor for their scoop of ice cream so that some flavor of ice cream is selected by exactly five children?