Aliyah had some candy to give to her four children. She first took ten pieces for herself and then evenly divided the rest among her children. Each children received 2 pieces. With how many pieces did she start?