Two different families A and B are blessed with equal number of children. There are 3 tickects to be distributed among the children of these families so that no child gets more than one ticket. If the probability that all the tickets go to the children of the family B is 112, then the number of children in each family is :