Two different families A and B are blessed with equal number of children. There are 3 tickets to be distributed amongst 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?