Six children are each offered a single scoop of any of 3 flavors of ice cream from the Combinations Creamery. 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 two children?