Adam had some candy to give to his three children. He first took seven pieces for himself and then evenly divided the rest among his children. If Adam started with 13 pieces, how many did each child receive?