26. Each boy initially had 12 cents, and he gave 1 cent to each girl. Each girl had 36 cents, from which she gave 3 cents to each boy. After this, each child had 18 cents.
26. Boys and Girls. Nine boys and three girls decided to share their pocket money equally. Each boy gave the same amount to each girl, and each girl also gave the same amount (but a different one) to each boy. After this, all the children had the same amount of money. What is the smallest amount of money that each of them could have had initially?