Dan had some candy to give his five children. he first took eight pieces for himself and then evenly divided the rest among his children. each child received four pieces. with how many pieces did he start?