Nine boys and three girls agreed to share equally their pocket money. Every boy gave an equal sum to every girl, and every girl gave another equal sum to every boy. Every child then possessed exactly the same amount.
What was the smallest possible amount that each then possessed?